|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jdesktop.wonderland.common.messages.Message
public abstract class Message
The base type of a message in the Wonderland system.
Every message in the system has a unique identifier. This identifier is unique within the context of the session that created it, but may not be globally unique. For message that need to be unique across clients, the session id of the originating session should be included in the message.
Wonderland messages are by default serialized and sent to clients. Messages that are very frequent should be hand-packed using the Externalizable interface.
Externalizable,
Serialized Form| Constructor Summary | |
|---|---|
protected |
Message()
Create a new message with a new MessageID generated by calling MessageID.generateMessageID(); |
protected |
Message(MessageID messageID)
Create a new message with an existing message id. |
| Method Summary | |
|---|---|
MessageID |
getMessageID()
Get the ID of a message |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Message()
protected Message(MessageID messageID)
messageID - the ID of this message| Method Detail |
|---|
public MessageID getMessageID()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||