|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class implementing this interface is an object encapsulating a reified method call either the sending of the call with the arguments or the reply of the call with the result.
A Message
clearly identifies a sender and a receiver of the message. Each message
is associated with a unique sequence number.
Method Summary | |
FTManager |
getFTManager()
Return the FTManager that have to treat this message |
MessageInfo |
getMessageInfo()
Returns fault-tolerance infos piggybacked on this message |
java.lang.String |
getMethodName()
Returns the method name of the method call packed in this message |
long |
getSequenceNumber()
Returns a unique sequence number of this message |
UniqueID |
getSourceBodyID()
Returns the id of the body source of this message |
long |
getTimeStamp()
Returns the time this message was created or deserialized |
boolean |
ignoreIt()
Return true if this message must be ignored by the receiver |
boolean |
isOneWay()
Returns true if the message will not generate a response message |
void |
setFTManager(FTManager ft)
Set the FTManager that have to treat this message |
void |
setIgnoreIt(boolean ignore)
Set or unset the ignore tag. |
void |
setMessageInfo(MessageInfo mi)
Set fault-tolerance infos piggybacked on this message |
Method Detail |
public UniqueID getSourceBodyID()
public java.lang.String getMethodName()
public long getSequenceNumber()
public boolean isOneWay()
public long getTimeStamp()
public MessageInfo getMessageInfo()
public void setMessageInfo(MessageInfo mi)
mi
- a MessageInfo object that contains fault-tolerance infospublic boolean ignoreIt()
public void setIgnoreIt(boolean ignore)
ignore
- true if this request must be ignored, false otherwise.public void setFTManager(FTManager ft)
ft
- the FTManager that have to treat this messagepublic FTManager getFTManager()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |