|
ABLE, Version 1.1b | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.able.platform.agents.FipaMessageEnvelope
This class provides an implementation of a FIPA "message-envelope", part of a "fipa-letter".
Constructor Summary | |
FipaMessageEnvelope()
Create a new, empty FIPA message envelope. |
|
FipaMessageEnvelope(java.lang.String theDestination,
java.lang.String theSenderDetails)
Create a new FIPA message envelope, and initialize it with specified parameters. |
|
FipaMessageEnvelope(java.lang.String theDestination,
java.lang.String theSenderDetails,
java.lang.String theDelegateAgent,
java.lang.String theReply)
Create a new FIPA message envelope, and initialize it with specified parameters. |
Method Summary | |
static java.lang.String |
Copyright()
Determine the copyright of this class. |
java.lang.String |
debugString()
Retrieve a string describing (the contents of) the object. |
java.lang.String |
getDelegateAgent()
Retrieve the name of the delegate agent. |
java.lang.String |
getDestination()
Retrieve the name of the agent that is to receive the letter. |
java.lang.String |
getReply()
Retrieve the name of the reply agent. |
java.lang.String |
getSenderDetails()
Retrieve the name of the sending agent. |
void |
setDelegateAgent(java.lang.String theDelegateAgent)
Set the name of the delegate agent. |
void |
setDestination(java.lang.String theDestination)
Set the name of the agent that is to receive the letter. |
void |
setReply(java.lang.String theReply)
Set the name of the reply agent. |
void |
setSenderDetails(java.lang.String theSenderDetails)
Set the name of the sending agent. |
java.lang.String |
toString()
Retrieve a string describing (the contents of) the object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public FipaMessageEnvelope()
public FipaMessageEnvelope(java.lang.String theDestination, java.lang.String theSenderDetails)
theDestination
- The name of the agent that is to receive the letter.
theSenderDetails
- The name of the agent sending the letter.
public FipaMessageEnvelope(java.lang.String theDestination, java.lang.String theSenderDetails, java.lang.String theDelegateAgent, java.lang.String theReply)
theDestination
- The name of the agent that is to receive the letter.
theSenderDetails
- The name of the agent sending the letter.
theDelegateAgent
- The name of the agent that will handle delegation.
theReply
- The name of the agent that will handle the reply.
Method Detail |
public java.lang.String getDestination()
public void setDestination(java.lang.String theDestination)
theDestination
- A name of a registered agent.
public java.lang.String getSenderDetails()
public void setSenderDetails(java.lang.String theSenderDetails)
theSenderDetails
- A name of a registered agent.
public java.lang.String getDelegateAgent()
public void setDelegateAgent(java.lang.String theDelegateAgent)
theDelegateAgent
- A name of a registered agent.
public java.lang.String getReply()
public void setReply(java.lang.String theReply)
theReply
- A name of a registered agent.
public java.lang.String toString()
public java.lang.String debugString()
public static java.lang.String Copyright()
|
ABLE, Version 1.1b | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |