public final class DuplexChannelMessageEventArgs extends DuplexChannelEventArgs
Constructor and Description |
---|
DuplexChannelMessageEventArgs(java.lang.String channelId,
java.lang.Object message,
java.lang.String responseReceiverId,
java.lang.String senderAddress)
Constructs the event.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getMessage()
Returns message.
|
getChannelId, getResponseReceiverId, getSenderAddress
public DuplexChannelMessageEventArgs(java.lang.String channelId, java.lang.Object message, java.lang.String responseReceiverId, java.lang.String senderAddress)
channelId
- Identifies the receiver of request messages. (e.g. tcp://127.0.0.1:8090/)message
- received messageresponseReceiverId
- Unique logical id identifying the receiver of response messages.senderAddress
- Address where the sender of the message is located. (e.g. IP address of the client)