eneter.messaging.infrastructure.attachable
Interface IAttachableDuplexInputChannel

All Known Subinterfaces:
IDuplexBroker, IDuplexChannelUnwrapper, IDuplexStringMessageReceiver, IDuplexTypedMessageReceiver<TResponse,TRequest>, ILoadBalancer, IMultiTypedMessageReceiver, IRpcService<TServiceInterface>

public interface IAttachableDuplexInputChannel

Interface for components which want to attach one IDuplexInputChannel. Communication components implementing this interface can attach the duplex input channel and receive messages and sends response messages.


Method Summary
 void attachDuplexInputChannel(IDuplexInputChannel duplexInputChannel)
          Attaches the duplex input channel and starts listening to messages.
 void detachDuplexInputChannel()
          Detaches the duplex input channel and stops listening to messages.
 IDuplexInputChannel getAttachedDuplexInputChannel()
          Returns attached duplex input channel.
 boolean isDuplexInputChannelAttached()
          Returns true if the duplex input channel is attached.
 

Method Detail

attachDuplexInputChannel

void attachDuplexInputChannel(IDuplexInputChannel duplexInputChannel)
                              throws java.lang.Exception
Attaches the duplex input channel and starts listening to messages.

Parameters:
duplexInputChannel -
Throws:
java.lang.Exception
See Also:
IDuplexInputChannel

detachDuplexInputChannel

void detachDuplexInputChannel()
Detaches the duplex input channel and stops listening to messages.


isDuplexInputChannelAttached

boolean isDuplexInputChannelAttached()
Returns true if the duplex input channel is attached.

Returns:

getAttachedDuplexInputChannel

IDuplexInputChannel getAttachedDuplexInputChannel()
Returns attached duplex input channel.

Returns:
See Also:
IDuplexInputChannel