|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groiss.cluster.communication.Message
public class Message
This class represents a message sent by the cluster communication mechanism.
It can transport an arbitrary serializable object.
| Constructor Summary | |
|---|---|
Message()
Default constructor |
|
Message(java.io.Serializable content)
Constructs a message and initializes the content. |
|
| Method Summary | |
|---|---|
java.io.Serializable |
getContent()
Return the content of this message. |
java.lang.String |
getFrom()
Returns the node id of the sender of the message. |
void |
setContent(java.io.Serializable content)
Set the content of this message. |
java.lang.String |
toString()
Return a String representation of this message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Message()
public Message(java.io.Serializable content)
content - | Method Detail |
|---|
public java.io.Serializable getContent()
public void setContent(java.io.Serializable content)
content - the new contentpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getFrom()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||