public interface IDuplexStringMessageSender extends IAttachableDuplexOutputChannel
Modifier and Type | Method and Description |
---|---|
Event<DuplexChannelEventArgs> |
connectionClosed()
The event is raised when the connection with receiver is closed.
|
Event<DuplexChannelEventArgs> |
connectionOpened()
The event is raised when the connection with receiver is opened.
|
Event<StringResponseReceivedEventArgs> |
responseReceived()
The event is raised when a response message is received.
|
void |
sendMessage(java.lang.String message)
Sends the text message to the response receiver.
|
attachDuplexOutputChannel, detachDuplexOutputChannel, getAttachedDuplexOutputChannel, isDuplexOutputChannelAttached
Event<DuplexChannelEventArgs> connectionOpened()
Event<DuplexChannelEventArgs> connectionClosed()
Event<StringResponseReceivedEventArgs> responseReceived()
void sendMessage(java.lang.String message) throws java.lang.Exception
message
- text message.java.lang.Exception