|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.mse.vault.message.Message
Message object returned to the client
Constructor Summary | |
Message(MessageEntity me)
Constructor |
|
Message(MessageKey key,
java.io.Serializable payload)
Constructor |
Method Summary | |
MessageKey |
getKey()
Retrieve the key for this message |
java.io.Serializable |
getPayload()
Retrieve the payload of this message |
void |
setPayload(java.io.Serializable payload)
Replace the payload of this message |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Message(MessageKey key, java.io.Serializable payload)
key
- MessageKey to use for this messagepayload
- BLOB content of the messagepublic Message(MessageEntity me)
Method Detail |
public MessageKey getKey()
public java.io.Serializable getPayload()
public void setPayload(java.io.Serializable payload)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |