public class ProtocolMessage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
Message
If message type is MessageReceived the it contains the serialized message data.
|
EProtocolMessageType |
MessageType
Type of the message.
|
java.lang.String |
ResponseReceiverId
Client id.
|
Constructor and Description |
---|
ProtocolMessage()
Default constructor.
|
ProtocolMessage(EProtocolMessageType messageType,
java.lang.String responseReceiverId,
java.lang.Object message)
Constructs the protocol message from the given parameters.
|
public EProtocolMessageType MessageType
public java.lang.String ResponseReceiverId
public java.lang.Object Message
public ProtocolMessage()
public ProtocolMessage(EProtocolMessageType messageType, java.lang.String responseReceiverId, java.lang.Object message)
messageType
- type of the messageresponseReceiverId
- client idmessage
- message content