eneter.messaging.nodes.broker
Class BrokerMessageReceivedEventArgs

java.lang.Object
  extended by eneter.messaging.nodes.broker.BrokerMessageReceivedEventArgs

public final class BrokerMessageReceivedEventArgs
extends java.lang.Object

Event arguments of the message received from the broker.


Constructor Summary
BrokerMessageReceivedEventArgs(java.lang.Exception receivingError)
          Constructs the event from the error detected during receiving of the message.
BrokerMessageReceivedEventArgs(java.lang.String messageTypeId, java.lang.Object message)
          Constructs the event from the input parameters.
 
Method Summary
 java.lang.Object getMessage()
          Returns the message.
 java.lang.String getMessageTypeId()
          Returns type of the message.
 java.lang.Exception getReceivingError()
          Returns the error detected during receiving of the message.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokerMessageReceivedEventArgs

public BrokerMessageReceivedEventArgs(java.lang.String messageTypeId,
                                      java.lang.Object message)
Constructs the event from the input parameters.

Parameters:
messageTypeId -
message -

BrokerMessageReceivedEventArgs

public BrokerMessageReceivedEventArgs(java.lang.Exception receivingError)
Constructs the event from the error detected during receiving of the message.

Parameters:
receivingError -
Method Detail

getMessageTypeId

public java.lang.String getMessageTypeId()
Returns type of the message.

Returns:

getMessage

public java.lang.Object getMessage()
Returns the message.

Returns:

getReceivingError

public java.lang.Exception getReceivingError()
Returns the error detected during receiving of the message.

Returns: