eneter.messaging.messagingsystems.messagingsystembase
Class DuplexChannelEventArgs

java.lang.Object
  extended by eneter.messaging.messagingsystems.messagingsystembase.DuplexChannelEventArgs
Direct Known Subclasses:
DuplexChannelMessageEventArgs

public class DuplexChannelEventArgs
extends java.lang.Object

Event argument used by output channel to indicate connection open or connection closed.


Constructor Summary
DuplexChannelEventArgs(java.lang.String channelId, java.lang.String responseReceiverId, java.lang.String senderAddress)
          Constructs the event argument.
 
Method Summary
 java.lang.String getChannelId()
          Returns the channel id identifying the receiver of request messages.
 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

DuplexChannelEventArgs

public DuplexChannelEventArgs(java.lang.String channelId,
                              java.lang.String responseReceiverId,
                              java.lang.String senderAddress)
Constructs the event argument.

Parameters:
channelId - Identifies the receiver of request messages. (e.g. tcp://127.0.0.1:8090/)
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

getChannelId

public java.lang.String getChannelId()
Returns the channel id identifying the receiver of request messages. (e.g. tcp://127.0.0.1:8090/).


getResponseReceiverId

public java.lang.String getResponseReceiverId()
Returns the unique logical id identifying the receiver of response messages.


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