|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
TResponse
- Response message type.TRequest
- Request message type.public interface ISyncDuplexTypedMessageSender<TResponse,TRequest>
Synchronized sender for one specified message type (it waits until the response is received). Message sender which sends request messages of specified type and receive response messages of specified type. Synchronous means when the message is sent it waits until the response message is received. If the waiting for the response message exceeds the specified timeout the TimeoutException is thrown.
Method Summary | |
---|---|
Event<DuplexChannelEventArgs> |
connectionClosed()
Raised when the service closed the connection with the client. |
Event<DuplexChannelEventArgs> |
connectionOpened()
Raised when the connection with the receiver is open. |
TResponse |
sendRequestMessage(TRequest message)
Sends the request message and returns the response. |
Methods inherited from interface eneter.messaging.infrastructure.attachable.IAttachableDuplexOutputChannel |
---|
attachDuplexOutputChannel, detachDuplexOutputChannel, getAttachedDuplexOutputChannel, isDuplexOutputChannelAttached |
Method Detail |
---|
Event<DuplexChannelEventArgs> connectionOpened()
Event<DuplexChannelEventArgs> connectionClosed()
TResponse sendRequestMessage(TRequest message) throws java.lang.Exception
message
- request message
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |