eneter.messaging.messagingsystems.composites.messagebus
Class MessageBusMessage

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

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

Internal message for interaction with the message bus.

See Also:
Serialized Form

Field Summary
 java.lang.String Id
          Depending on the request it is either client id or service id.
 java.lang.Object MessageData
          If the request is SendRequestMessage or SendResponseMessage it contains the serialized message data which is sent between client and service.
 EMessageBusRequest Request
          Request for the message bus.
 
Constructor Summary
MessageBusMessage()
          Default constructor available for deserialization.
MessageBusMessage(EMessageBusRequest request, java.lang.String id, java.lang.Object messageData)
          Constructs the message.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Request

public EMessageBusRequest Request
Request for the message bus.


Id

public java.lang.String Id
Depending on the request it is either client id or service id.


MessageData

public java.lang.Object MessageData
If the request is SendRequestMessage or SendResponseMessage it contains the serialized message data which is sent between client and service. Otherwise it is null.

Constructor Detail

MessageBusMessage

public MessageBusMessage()
Default constructor available for deserialization.


MessageBusMessage

public MessageBusMessage(EMessageBusRequest request,
                         java.lang.String id,
                         java.lang.Object messageData)
Constructs the message.

Parameters:
request - Requested from the message bus.
id - Depending on type of the request it is either client id or service id.
messageData - If the request is SendRequestMessage or SendResponseMessage it is the serialized message data.