vs.rationalagent.behaviour
Class InformReceiver

java.lang.Object
  extended by jade.core.behaviours.Behaviour
      extended by jade.core.behaviours.SimpleBehaviour
          extended by jade.core.behaviours.CyclicBehaviour
              extended by vs.rationalagent.behaviour.InformReceiver
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ReceiveInformBehaviour, ReceiveInformBehaviour, ReceiveInformBehaviour

public abstract class InformReceiver
extends jade.core.behaviours.CyclicBehaviour

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jade.core.behaviours.Behaviour
STATE_BLOCKED, STATE_READY, STATE_RUNNING
 
Constructor Summary
InformReceiver(jade.core.Agent a)
           
 
Method Summary
 void action()
          Handle the reception of INFORM messages.
abstract  boolean handleContent(jade.content.ContentElement ce, jade.lang.acl.ACLMessage msg)
           
 
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

InformReceiver

public InformReceiver(jade.core.Agent a)
Method Detail

action

public void action()
Handle the reception of INFORM messages. If an INFORM message is not handled, it is put back on the message queue for other behaviours.

Specified by:
action in class jade.core.behaviours.Behaviour

handleContent

public abstract boolean handleContent(jade.content.ContentElement ce,
                                      jade.lang.acl.ACLMessage msg)