public interface MultiChannelConnection<T> extends Addressable, AsyncStoppable
| Modifier and Type | Method and Description |
|---|---|
void |
addIncomingChannel(String channelKey,
Dispatch<T> dispatch)
Adds a handler for incoming messages on the given channel.
|
Dispatch<T> |
addOutgoingChannel(String channelKey)
Adds a destination for outgoing messages on the given channel.
|
void |
requestStop()
Commences graceful stop of this connection.
|
void |
stop()
Performs a graceful stop of this connection.
|
getLocalAddress, getRemoteAddressDispatch<T> addOutgoingChannel(String channelKey)
void addIncomingChannel(String channelKey, Dispatch<T> dispatch)
void requestStop()
requestStop in interface AsyncStoppableCopyright © 2013. All rights reserved