|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDuplexDispatcher
Dispatcher.
The duplex dispatcher has attached more duplex input channels and uses more duplex output channels.
When it receives some message via the duplex input channel it forwards the message to all duplex output channels.
The duplex dispatcher allows the bidirectional communication. It means, receivers to whom the message was forwarded can
send back response messages. Therefore, the sender can get response messages from all receivers.
Method Summary | |
---|---|
void |
addDuplexOutputChannel(java.lang.String channelId)
Adds the duplex output channel id to the dispatcher. |
java.lang.String |
getAssociatedResponseReceiverId(java.lang.String responseReceiverId)
Returns response receiver id of the client connected to the dispatcher. |
void |
removeAllDuplexOutputChannels()
Removes all duplex output channels from the dispatcher. |
void |
removeDuplexOutputChannel(java.lang.String channelId)
Removes the duplex output channel from the dispatcher. |
Methods inherited from interface eneter.messaging.infrastructure.attachable.IAttachableMultipleDuplexInputChannels |
---|
attachDuplexInputChannel, detachDuplexInputChannel, detachDuplexInputChannel, getAttachedDuplexInputChannels, isDuplexInputChannelAttached |
Method Detail |
---|
void addDuplexOutputChannel(java.lang.String channelId)
channelId
- void removeDuplexOutputChannel(java.lang.String channelId) throws java.lang.Exception
channelId
-
java.lang.Exception
void removeAllDuplexOutputChannels() throws java.lang.Exception
java.lang.Exception
java.lang.String getAssociatedResponseReceiverId(java.lang.String responseReceiverId) throws java.lang.Exception
responseReceiverId
- responseRecieverId after dispatching
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |