eneter.messaging.messagingsystems.composites.monitoredmessagingcomposit
Class MonitorChannelMessage

java.lang.Object
  extended by eneter.messaging.messagingsystems.composites.monitoredmessagingcomposit.MonitorChannelMessage
All Implemented Interfaces:
java.io.Serializable

public class MonitorChannelMessage
extends java.lang.Object
implements java.io.Serializable

Internal message used for the communication between output and input channels in monitored messaging.

See Also:
Serialized Form

Field Summary
 java.lang.Object MessageContent
          Serialized data message.
 MonitorChannelMessageType MessageType
          Type of the message.
 
Constructor Summary
MonitorChannelMessage()
          Constructs the message.
MonitorChannelMessage(MonitorChannelMessageType messageType, java.lang.Object messageContent)
          Constructs the message from specified parameters.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MessageType

public MonitorChannelMessageType MessageType
Type of the message. Ping or regular message.


MessageContent

public java.lang.Object MessageContent
Serialized data message. In case of 'ping', this property is null.

Constructor Detail

MonitorChannelMessage

public MonitorChannelMessage()
Constructs the message.


MonitorChannelMessage

public MonitorChannelMessage(MonitorChannelMessageType messageType,
                             java.lang.Object messageContent)
Constructs the message from specified parameters.

Parameters:
messageType - type of the message, ping or regular message
messageContent - message content, in case of ping this parameter is not used