public interface IAttachableMultipleDuplexInputChannels
IDuplexInputChannel
.
Communication components implementing this interface can attach multiple duplex input channels and listens via them to messages.Modifier and Type | Method and Description |
---|---|
void |
attachDuplexInputChannel(IDuplexInputChannel duplexInputChannel)
Attaches the duplex input channel and starts listening to messages.
|
void |
detachDuplexInputChannel()
Detaches the duplex input channel.
|
void |
detachDuplexInputChannel(java.lang.String channelId)
Detaches the duplex input channel.
|
java.lang.Iterable<IDuplexInputChannel> |
getAttachedDuplexInputChannels()
Returns attached input channels.
|
boolean |
isDuplexInputChannelAttached()
Returns true if the duplex input channel is attached.
|
void attachDuplexInputChannel(IDuplexInputChannel duplexInputChannel) throws java.lang.Exception
duplexInputChannel
- java.lang.Exception
IDuplexInputChannel
void detachDuplexInputChannel()
boolean isDuplexInputChannelAttached()
void detachDuplexInputChannel(java.lang.String channelId) throws java.lang.Exception
channelId
- java.lang.Exception
java.lang.Iterable<IDuplexInputChannel> getAttachedDuplexInputChannels()
IDuplexInputChannel