public interface IDuplexStringMessageReceiver extends IAttachableDuplexInputChannel
| Modifier and Type | Method and Description |
|---|---|
Event<StringRequestReceivedEventArgs> |
requestReceived()
The event is raised when a text message is received.
|
Event<ResponseReceiverEventArgs> |
responseReceiverConnected()
The event is raised when a duplex string message sender opened the connection.
|
Event<ResponseReceiverEventArgs> |
responseReceiverDisconnected()
The event is raised when a duplex string message sender closed the connection.
|
void |
sendResponseMessage(java.lang.String responseReceiverId,
java.lang.String responseMessage)
Sends the response message back to the string message sender.
|
attachDuplexInputChannel, detachDuplexInputChannel, getAttachedDuplexInputChannel, isDuplexInputChannelAttachedEvent<StringRequestReceivedEventArgs> requestReceived()
Event<ResponseReceiverEventArgs> responseReceiverConnected()
Event<ResponseReceiverEventArgs> responseReceiverDisconnected()
void sendResponseMessage(java.lang.String responseReceiverId,
java.lang.String responseMessage)
throws java.lang.Exception
responseReceiverId - identifies the string message sender that shall receive the responseresponseMessage - response text messagejava.lang.Exception