|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jade.core.behaviours.Behaviour
|
+--jade.core.behaviours.SimpleBehaviour
|
+--jade.core.behaviours.OneShotBehaviour
|
+--jade.core.behaviours.SenderBehaviour
Behaviour for sending an ACL message. This class encapsulates a
send() as an atomic operation. This behaviour sends a
given ACL message and terminates.
ReceiverBehaviour,
Agent.send(ACLMessage msg),
ACLMessage, Serialized Form| Inner classes inherited from class jade.core.behaviours.Behaviour |
Behaviour.RunnableChangedEvent |
| Fields inherited from class jade.core.behaviours.Behaviour |
myAgent,
myEvent,
NOTIFY_DOWN,
NOTIFY_UP,
parent |
| Constructor Summary | |
SenderBehaviour(Agent a,
ACLMessage msg)
Send a given ACL message. |
|
| Method Summary | |
void |
action()
Actual behaviour implementation. |
| Methods inherited from class jade.core.behaviours.OneShotBehaviour |
done |
| Methods inherited from class jade.core.behaviours.SimpleBehaviour |
reset |
| Methods inherited from class jade.core.behaviours.Behaviour |
block,
block,
handle,
isRunnable,
restart,
root |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public SenderBehaviour(Agent a,
ACLMessage msg)
SenderBehaviour which sends an ACL message.a - The agent this behaviour belongs to, and that will
send() the message.msg - An ACL message to send.| Method Detail |
public void action()
AgentGroup or the
:receiver message slot to get the message recipient
names.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||