|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjade.core.behaviours.Behaviour
jade.core.behaviours.SimpleBehaviour
jade.core.behaviours.CyclicBehaviour
ibspan.ecap.merchant.shopdecisions.ReceivingWrapper
public class ReceivingWrapper
A behaviour for receiving the message specified by the given template passing it to the
DataStore of an appropriate handling behaviour created by the createHandlerBehaviour()
method and putting that behaviour into the agent's queue. The default implementation of the
createHandlerBehaviour()
creates no behaviour, hence no handler is scheduled after
receiving a message. To specify the behaviour to handle the received messages one should
subclass ReceivingWrapper class overriding createHandlerBehaviour()
.
Field Summary |
---|
Fields inherited from class jade.core.behaviours.Behaviour |
---|
STATE_BLOCKED, STATE_READY, STATE_RUNNING |
Constructor Summary | |
---|---|
ReceivingWrapper(jade.core.Agent myAgent,
jade.lang.acl.MessageTemplate template,
java.lang.Object dataStoreKey)
|
Method Summary | |
---|---|
void |
action()
|
Methods inherited from class jade.core.behaviours.CyclicBehaviour |
---|
done |
Methods inherited from class jade.core.behaviours.SimpleBehaviour |
---|
reset |
Methods inherited from class jade.core.behaviours.Behaviour |
---|
actionWrapper, block, block, getBehaviourName, getDataStore, getExecutionState, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReceivingWrapper(jade.core.Agent myAgent, jade.lang.acl.MessageTemplate template, java.lang.Object dataStoreKey)
Method Detail |
---|
public void action()
action
in class jade.core.behaviours.Behaviour
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |