|
XNIO API 2.0.2.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A - the address typeT - the channel typepublic interface ChannelDestination<A,T extends java.nio.channels.Channel>

A channel destination. This is the inverse of ChannelSource; it is used to accept a single connection from a remote
peer.
| Method Summary | |
|---|---|
IoFuture<T> |
accept(ChannelListener<? super T> openListener,
ChannelListener<? super BoundChannel<A>> bindListener)
Accept a connection. |
| Method Detail |
|---|
IoFuture<T> accept(ChannelListener<? super T> openListener,
ChannelListener<? super BoundChannel<A>> bindListener)
openListener - the handler which will be notified when the channel is open, or null for nonebindListener - the handler which will be notified when the channel is bound locally, or null for none
|
XNIO API 2.0.2.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||