jadex.testcases.events
Agent MessageMatching
jadex.testcases.events.MessageMatching
jadex.planlib.Test
- agent MessageMatching
- contains jadex.planlib.Test
Agent arguments: timeout- timeout long
, testcenter- testcenter AgentIdentifier
Test the message matching.
Configuration Summary |
default configuration |
test
|
results
beliefset String results
testcase_cnt
beliefref int testcase_cnt
- Default fact:
1
- Referenced from:
testcase_cnt
in capability jadex.planlib.Test
timeout
exported beliefref long timeout
- Default fact:
0
- Referenced from:
timeout
in capability jadex.planlib.Test
testcenter
exported beliefref AgentIdentifier testcenter
- Referenced from:
testcenter
in capability jadex.planlib.Test
reports
beliefsetref reports
- Referenced from:
reports
in capability jadex.planlib.Test
messagereceiver_one
standard plan messagereceiver_one()
- Plan body:
new ResultPlan(true, "one", "results")
- Plan trigger:
- Message events:
inform_one
messagereceiver_two
standard plan messagereceiver_two()
- Plan body:
new ResultPlan(true, "two", "results")
- Plan trigger:
- Message events:
inform_two
test
standard plan test()
- Plan body:
inform_one
messageevent inform_one(String content,
String performative)
- Parameters:
- in parameter
content
- fixed parameter
performative
Default value:
SFipa.INFORM
- Event flags:
- direction: receive
- message type: fipa
- random selection: false
- post to all: false
inform_two
messageevent inform_two(String content,
String performative)
- Parameters:
- in parameter
content
- fixed parameter
performative
Default value:
SFipa.INFORM
- Event flags:
- direction: receive
- message type: fipa
- random selection: false
- post to all: false
inform
messageevent inform(String performative)
- Parameters:
- fixed parameter
performative
Default value:
SFipa.INFORM
- Event flags:
- direction: send
- message type: fipa
- random selection: false
- post to all: false
test
default configuration test
- Initial Beliefs:
- testcase_cnt Initial value:
4
- Initial Plans:
- test
Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples. Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.