|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDuplexChannelUnwrapper
Duplex channel unwrapper.
The duplex channel wrapper is listening to more duplex input channels. When it receives some message,
it wraps the message and sends it via the only duplex output channel.
On the other side the message is received by duplex channel unwrapper. The unwrapper unwraps the message
and uses the duplex output channel to forward the message to the correct receiver.
The receiver can also send the response message. Then it goes the same way back.
Notice, the 'duplex channel unwrapper' can communication only with 'duplex channel wrapper'.
It cannot communicate with one-way 'channel wrapper'.
Method Summary | |
---|---|
java.lang.String |
getAssociatedResponseReceiverId(java.lang.String responseReceiverId)
Returns response receiver id of the client connected to the unwrapper. |
Event<ResponseReceiverEventArgs> |
responseReceiverConnected()
The event is invoked when the duplex channel wrapper opened the connection with this unwrapper via its duplex output channel. |
Event<ResponseReceiverEventArgs> |
responseReceiverDisconnected()
The event is invoked when the duplex channel wrapper closed the connection with this unwrapper via its duplex output channel. |
Methods inherited from interface eneter.messaging.infrastructure.attachable.IAttachableDuplexInputChannel |
---|
attachDuplexInputChannel, detachDuplexInputChannel, getAttachedDuplexInputChannel, isDuplexInputChannelAttached |
Method Detail |
---|
Event<ResponseReceiverEventArgs> responseReceiverConnected()
Event<ResponseReceiverEventArgs> responseReceiverDisconnected()
java.lang.String getAssociatedResponseReceiverId(java.lang.String responseReceiverId) throws java.lang.Exception
responseReceiverId
- responseRecieverId from unwrapped message
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |