jadex.testcases.events
Agent SendAndWaitMobile
- agent SendAndWaitMobile
 
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 one answer
 | 
| mobile plan  | test()
 | 
 
| Event Summary | 
| messageevent  | inform(String performative)This message is sent to itself, and therefore also received.
 | 
| messageevent  | request(String performative, String reply-with)This message is sent to itself, and therefore also received.
 | 
 
| Initial State Summary | 
| default initial state  | default
 | 
 
test
mobile plan test()
- 
- Plan body:
- new SendAndWaitMobilePlan()
 
answer
standard plan answer()
-  This plan sends one answer 
 
- 
- Plan body:
- new AnswerPlan(1, 0)
- Message event trigger:
- request
 
request
messageevent request(String performative, 
                     String reply-with)
-  This message is sent to itself, and therefore also received. 
 
- 
- Parameters:
- fixed parameter performativeDefault value:SFipa.REQUEST
- in parameter reply-withDefault value:SFipa.createUniqueId($scope.getAgentName())-  Initialized with unique random value.
- 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.