|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sourceforge.jemmrpc.shared.MessageWrapper
public class MessageWrapper
A wrapper giving necessary processing information to the receiver.
Constructor Summary | |
---|---|
MessageWrapper(java.lang.String dThreadId,
MessageType fMsgType,
Message fMessage)
Creates a MessageWrapper. |
Method Summary | |
---|---|
Message |
getMessage()
Retrieves the contained Message |
MessageType |
getMsgType()
Returns the type of the message being sent. |
java.lang.String |
getThreadId()
Retrieves the thread id (or null if not applicable) from the sender. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageWrapper(java.lang.String dThreadId, MessageType fMsgType, Message fMessage)
dThreadId
- The client id.fMsgType
- The type of the message.fMessage
- The message to send.Method Detail |
---|
public Message getMessage()
public MessageType getMsgType()
public java.lang.String getThreadId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |