ChannelSource; it is used to accept a single connection from a remote
peer.
| Modifier and Type | Method and Description |
|---|---|
| public IoFuture | Returns: the future connectionthe listener which will be notified when the channel is open, or openListener, ChannelListener<? super BoundChannel> null for nonethe listener which will be notified when the channel is bound locally, or bindListener)null for noneAccept a connection. |
| accept | back to summary |
|---|---|
| public IoFuture Accept a connection. The bind listener will be called when the channel is bound; the open listener will be called when the connection is accepted. It is not guaranteed that the open listener will be called after the bind listener.
| |