public class MonitorChannelMessage
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
MessageContent
Serialized data message.
|
MonitorChannelMessageType |
MessageType
Type of the message.
|
Constructor and Description |
---|
MonitorChannelMessage()
Constructs the message.
|
MonitorChannelMessage(MonitorChannelMessageType messageType,
java.lang.Object messageContent)
Constructs the message from specified parameters.
|
public MonitorChannelMessageType MessageType
public java.lang.Object MessageContent
public MonitorChannelMessage()
public MonitorChannelMessage(MonitorChannelMessageType messageType, java.lang.Object messageContent)
messageType
- type of the message, ping or regular messagemessageContent
- message content, in case of ping this parameter is not used