jadex.testcases.plans
Agent WaitqueueTest
- agent WaitqueueTest
 
Test the waitqueue of plans.
 
 Test waitqueue by receiving a number of messages
 after waiting for a timeout.
| Plan Summary | 
| standard plan  | answer()This plan sends 5 answers, each delayed 0.5 secs
 | 
| standard plan  | test()
 | 
 
| Event Summary | 
| messageevent  | inform(String performative)This message is sent to itself, and therefore also received.
 | 
| messageevent  | request(String performative)This message is sent to itself, and therefore also received.
 | 
 
| Initial State Summary | 
| default initial state  | default
 | 
 
test
standard plan test()
- 
- Plan body:
- new WaitqueueTestPlan()
 
answer
standard plan answer()
-  This plan sends 5 answers, each delayed 0.5 secs 
 
- 
- Plan body:
- new AnswerPlan(5, 500)
- Message event trigger:
- request
 
request
messageevent request(String performative)
-  This message is sent to itself, and therefore also received. 
 
- 
- Parameters:
- fixed parameter performativeDefault value:SFipa.REQUEST
- Event flags:
- direction: send_receive- message type: fipa- random selection: false- meta-level reasoning: true- post to all: false
 
inform
messageevent inform(String performative)
-  This message is sent to itself, and therefore also received. 
 
- 
- Parameters:
- fixed parameter performativeDefault value:SFipa.INFORM
- Event flags:
- direction: send_receive- message type: fipa- random selection: false- meta-level reasoning: true- post to all: false
 
default
default initial state default
- 
- 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-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.