jadex.testcases.plans
Agent PingBinding
- agent PingBinding
 
Tests binding values for a plan.
 Reacts on "ping" query-ref and sends
 back inform "alive" because it is the
 first suitable value from the binding
 values set.
 
 
| Initial State Summary | 
| default initial state  | default
 | 
 
ping
standard plan ping(String reply)
- 
- Parameters:
- in parameter replyBinding options:new String[]{"alive", "alaaf"}
- Plan body:
- new PingPlan("ping", $plan.reply)
- Message event trigger:
- query_ref_ping
 
printer
standard plan printer(int num)
- 
- Parameters:
- in parameter numDefault value:0
- Plan body:
- new ResultPlan(new Integer($plan.num))
 
query_ref_ping
messageevent query_ref_ping(String content, 
                            String performative)
- 
- Parameters:
- in parameter contentDefault value:"ping"
- fixed parameter performativeDefault value:SFipa.QUERY_REF
- Event flags:
- direction: receive- message type: fipa- random selection: false- meta-level reasoning: true- post to all: true
 
inform_alive
exported messageevent inform_alive(String performative)
- 
- 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:
- printer
 
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.