T - the channel typepublic interface ChannelDestination<T extends Channel>
ChannelSource; it is used to accept a single connection from a remote
peer.| Modifier and Type | Method and Description |
|---|---|
IoFuture<? extends T> |
accept(ChannelListener<? super T> openListener,
ChannelListener<? super BoundChannel> bindListener)
Accept a connection.
|
IoFuture<? extends T> accept(ChannelListener<? super T> openListener, ChannelListener<? super BoundChannel> bindListener)
openListener - the listener which will be notified when the channel is open, or null for nonebindListener - the listener which will be notified when the channel is bound locally, or null for noneCopyright © 2012 JBoss by Red Hat. All Rights Reserved.