|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
TResponse
- Type of the response message which can be received.TRequest
- Type of the request message which can be sent.public interface IDuplexTypedMessageSender<TResponse,TRequest>
Sender for one specified message type. This is a client component which send request messages and receive response messages. It can send messages to DuplextTypedMessageReceiver.
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. |
Event<TypedResponseReceivedEventArgs<TResponse>> |
responseReceived()
Raised when a response message is received. |
void |
sendRequestMessage(TRequest message)
Sends message to the service. |
Methods inherited from interface eneter.messaging.infrastructure.attachable.IAttachableDuplexOutputChannel |
---|
attachDuplexOutputChannel, detachDuplexOutputChannel, getAttachedDuplexOutputChannel, isDuplexOutputChannelAttached |
Method Detail |
---|
Event<DuplexChannelEventArgs> connectionOpened()
Event<DuplexChannelEventArgs> connectionClosed()
Event<TypedResponseReceivedEventArgs<TResponse>> responseReceived()
void sendRequestMessage(TRequest message) throws java.lang.Exception
message
-
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |