eneter.messaging.messagingsystems.messagingsystembase
Class ResponseReceiverEventArgs

java.lang.Object
  extended by eneter.messaging.messagingsystems.messagingsystembase.ResponseReceiverEventArgs

public final class ResponseReceiverEventArgs
extends java.lang.Object

Event argument used by the input channel to indicate the output channel was connected or disconnected. The event is used for the communication between the duplex output channel and duplex input channel to identify where to send response messages.


Constructor Summary
ResponseReceiverEventArgs(java.lang.String responseReceiverId, java.lang.String senderAddress)
          Constructs the event from the input parameters.
 
Method Summary
 java.lang.String getResponseReceiverId()
          Returns the unique logical id identifying the receiver of response messages.
 java.lang.String getSenderAddress()
          Returns the address where the sender of the message is located.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseReceiverEventArgs

public ResponseReceiverEventArgs(java.lang.String responseReceiverId,
                                 java.lang.String senderAddress)
Constructs the event from the input parameters.

Parameters:
responseReceiverId - Unique logical id identifying the receiver of response messages.
senderAddress - Address where the sender of the request message is located. (e.g. IP address of the client)
Can be empty string if not applicable in used messaging.
Method Detail

getResponseReceiverId

public java.lang.String getResponseReceiverId()
Returns the unique logical id identifying the receiver of response messages. This id identifies who receives the response message on the client side.


getSenderAddress

public java.lang.String getSenderAddress()
Returns the address where the sender of the message is located. (e.g. IP address of the client). It can be empty string if not applicable for used messaging.

Returns:
sender address