|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteneter.messaging.messagingsystems.connectionprotocols.ProtocolMessage
public class ProtocolMessage
Message decoded by the protocol formatter.
The protocol formatter is used for the internal communication between output and input channel.
When the channel receives a message it uses the protocol formatter to figure out if is is 'Open Connection',
'Close Connection' or 'Data Message'.
Protocol formatter decodes the message and returns ProtocolMessage.
Field Summary | |
---|---|
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 Summary | |
---|---|
ProtocolMessage()
Default constructor. |
|
ProtocolMessage(EProtocolMessageType messageType,
java.lang.String responseReceiverId,
java.lang.Object message)
Constructs the protocol message from the given parameters. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public EProtocolMessageType MessageType
public java.lang.String ResponseReceiverId
public java.lang.Object Message
Constructor Detail |
---|
public ProtocolMessage()
public ProtocolMessage(EProtocolMessageType messageType, java.lang.String responseReceiverId, java.lang.Object message)
messageType
- type of the messageresponseReceiverId
- client idmessage
- message content
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |