| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides an encapsulated entity for the parts which compose an Agent message
Constructor Summary | |
Message(Envelope env, ACL acl) Create a new Message based upon the given Envelope (which is assumed to contain an ACL object). | |
Message(ACL msg) Creates a Message based upon the given ACL object (automatically generates an Envelope based upon the ACL object given) |
Method Summary | |
void | addMessageListener(MessageListener ml) Add a MessageListener to this |
Object | clone() |
ACL | getACL() Gets the ACL that is part of this Message |
Object | getContent() Gets the content of this Message |
Envelope | getEnvelope() Gets the Envelope that is part of this Message |
void | removeMessageListener(MessageListener ml) Remove a MessageListener from this |
String | toString() Convert Message to human-readable form |
Constructor Detail |
public Message(Envelope env, ACL acl)
public Message(ACL msg)
Method Detail |
public void addMessageListener(MessageListener ml)
public Object clone()
public ACL getACL()
public Object getContent()
public Envelope getEnvelope()
public void removeMessageListener(MessageListener ml)
public String toString()
Association Links |
to Class fipaos.ont.fipa.ACL
to Class java.lang.Object
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |