|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.proactive.core.body.message.MessageImpl
Implements a simple message encapsulating a method call between two active objects.
Field Summary | |
protected boolean |
ciphered
|
protected boolean |
isOneWay
|
protected java.lang.String |
methodName
The name of the method called |
protected long |
sequenceNumber
The unique sequence number for the message |
protected long |
sessionID
|
protected UniqueID |
sourceID
The UniqueID of the body sending the message |
protected long |
timeStamp
the time the message has been issued or deserialized |
Constructor Summary | |
MessageImpl(UniqueID sourceID,
long sequenceNumber,
boolean isOneWay,
java.lang.String methodName)
Creates a new Message based on the given information. |
Method Summary | |
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 |
isOneWay()
Returns true if the message will not generate a response message |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String methodName
protected UniqueID sourceID
protected long sequenceNumber
protected transient long timeStamp
protected boolean isOneWay
protected long sessionID
protected boolean ciphered
Constructor Detail |
public MessageImpl(UniqueID sourceID, long sequenceNumber, boolean isOneWay, java.lang.String methodName)
Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public UniqueID getSourceBodyID()
Message
getSourceBodyID
in interface Message
public java.lang.String getMethodName()
Message
getMethodName
in interface Message
public long getSequenceNumber()
Message
getSequenceNumber
in interface Message
public boolean isOneWay()
Message
isOneWay
in interface Message
public long getTimeStamp()
Message
getTimeStamp
in interface Message
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |