|
XNIO version 1.2.0.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 Acceptor<A,T extends Channel>
An acceptor. This is the inverse of Connector; it is used to accept a single connection from a remote
peer.
| Method Summary | |
|---|---|
FutureConnection<A,T> |
acceptTo(A dest,
IoHandler<? super T> handler)
Accept a connection at a destination address. |
ChannelDestination<A,T> |
createChannelDestination(A dest)
Create a channel destination for this acceptor, which always uses a specific destination address. |
| Method Detail |
|---|
FutureConnection<A,T> acceptTo(A dest,
IoHandler<? super T> handler)
dest - the destination addresshandler - the handler for the new connection
ChannelDestination<A,T> createChannelDestination(A dest)
dest - the destination address
|
XNIO version 1.2.0.GA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||