Overview  Package   Class  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

sajas.core.behaviours
Class SenderBehaviour
java.lang.Object
  sajas.core.behaviours.Behaviour
      sajas.core.behaviours.SimpleBehaviour
          sajas.core.behaviours.OneShotBehaviour
              sajas.core.behaviours.SenderBehaviour
All Implemented Interfaces:
jade.util.leap.Serializable, Serializable

public final class SenderBehaviour
extends OneShotBehaviour
Author:
hlc
See Also:
jade.core.behaviours.SenderBehaviour

Nested classes/interfaces inherited from class sajas.core.behaviours.Behaviour
Behaviour.RunnableChangedEvent
Fields inherited from class sajas.core.behaviours.Behaviour
myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING
Constructor Summary
SenderBehaviour(Agent a, jade.lang.acl.ACLMessage msg)
          Send a given ACL message.
Method Summary
void
action()
          Actual behaviour implementation.
Methods inherited from class sajas.core.behaviours.OneShotBehaviour
done
Methods inherited from class sajas.core.behaviours.SimpleBehaviour
reset
Methods inherited from class sajas.core.behaviours.Behaviour
actionWrapper, block, block, getAgent, getBehaviourName, getDataStore, getExecutionState, getParent, getRestartCounter, handle, handleBlockEvent, handleRestartEvent, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
SenderBehaviour
public SenderBehaviour(Agent a,
                       jade.lang.acl.ACLMessage msg)
Send a given ACL message. This constructor creates a SenderBehaviour which sends an ACL message.
Parameters:
a - The agent this behaviour belongs to, and that will send() the message.
msg - An ACL message to send.
Method Detail
action
public void action()
Actual behaviour implementation. This method sends an ACL message, using either the given AgentGroup or the :receiver message slot to get the message recipient names.
Overrides:
action in class Behaviour

Overview  Package   Class  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Java API documentation generated with DocFlex/Doclet 1.6.1 using JavadocPro template set.
DocFlex/Doclet is both a multi-format Javadoc doclet and a free edition of DocFlex/Javadoc, which is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch, DocFlex/Javadoc may be the only tool able to help you! Find out more at www.docflex.com