|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjade.domain.introspection.SentMessage
public class SentMessage
An introspection event, recording the sending of an ACL message within the platform.
| Field Summary | |
|---|---|
static java.lang.String |
NAME
A string constant for the name of this event. |
| Constructor Summary | |
|---|---|
SentMessage()
Default constructor. |
|
| Method Summary | |
|---|---|
ACLMessage |
getMessage()
Retrieve the value of the message slot of this
event, containing the ACL message that was sent. |
java.lang.String |
getName()
Retrieve the name of this event. |
AID |
getReceiver()
Retrieve the value of the unicast receiver slot of this
event. |
AID |
getSender()
Retrieve the value of the sender slot of this
event, containing the agent identifier of the agent that sent
the message. |
void |
setMessage(ACLMessage msg)
Set the message slot of this event. |
void |
setReceiver(AID id)
Set the unicast receiver slot of this event. |
void |
setSender(AID id)
Set the sender slot of this event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NAME
| Constructor Detail |
|---|
public SentMessage()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface Eventpublic void setSender(AID id)
sender slot of this event.
id - The agent identifier of the agent that sent the
message.public AID getSender()
sender slot of this
event, containing the agent identifier of the agent that sent
the message.
sender slot, or
null if no value was set.public void setReceiver(AID id)
receiver slot of this event.
id - The agent identifier of the unicast receiver of the
sent message.public AID getReceiver()
receiver slot of this
event.
receiver slot, or
null if no value was set.public void setMessage(ACLMessage msg)
message slot of this event.
msg - The ACL message that was sent.public ACLMessage getMessage()
message slot of this
event, containing the ACL message that was sent.
message slot, or
null if no value was set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||