|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jade.lang.acl.ACLMessage | +--jade.content.OntoACLMessage
Fields inherited from class jade.lang.acl.ACLMessage |
ACCEPT_PROPOSAL,
AGREE,
CANCEL,
CFP,
CONFIRM,
DISCONFIRM,
FAILURE,
INFORM,
INFORM_IF,
INFORM_REF,
NOT_UNDERSTOOD,
PROPAGATE,
PROPOSE,
PROXY,
QUERY_IF,
QUERY_REF,
REFUSE,
REJECT_PROPOSAL,
REQUEST,
REQUEST_WHEN,
REQUEST_WHENEVER,
SUBSCRIBE,
UNKNOWN |
Constructor Summary | |
OntoACLMessage()
Constructs an ontological ACL message whose performative is ACLMessage.NOT_UNDERSTOOD |
|
OntoACLMessage(int performative)
Constructor for an ontological ACL message with a given performative |
Method Summary | |
void |
addReceiver(AID aid)
This method is redefined so that the receiver AID is automatically wrapped into an OntoAID |
void |
addReplyTo(AID aid)
This method is redefined so that the replyTo AID is automatically wrapped into an OntoAID |
void |
setSender(AID aid)
This method is redefined so that the sender AID is automatically wrapped into an OntoAID |
static OntoACLMessage |
wrap(ACLMessage msg)
Create an ontological ACL message that wraps an existing ACLMessage . |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public OntoACLMessage()
public OntoACLMessage(int performative)
performative
- the performative of this ACL message.ACLMessage.ACLMessage(int)
Method Detail |
public static OntoACLMessage wrap(ACLMessage msg)
ACLMessage
.msg
- the ACLMessage
to be wrapped. If
msg
is already an ontological ACL message no new object is
created and msg
is returned with the sender
and receivers properly wrapped if necessary.public void setSender(AID aid)
source
- The new value for the slot.ACLMessage.getSender()
public void addReceiver(AID aid)
r
- The value to add to the slot value set.public void addReplyTo(AID aid)
dest
- The value to add to the slot value set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |