|
XNIO API 2.0.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A
- the type of address associated with this serverT
- the bound channel typepublic interface BoundServer<A,T extends BoundChannel<A>>
A server that is bound to a local address, and which may accept connections.
Method Summary | |
---|---|
IoFuture<? extends T> |
bind(A address)
Add a binding. |
ChannelListener.Setter<? extends T> |
getBindSetter()
Get the bind handler setter for this channel. |
java.util.Collection<? extends T> |
getChannels()
Get the channels representing the individual bound servers. |
ChannelListener.Setter<? extends BoundServer<A,T>> |
getCloseSetter()
Get the setter which can be used to change the close handler for this channel. |
Methods inherited from interface java.nio.channels.Channel |
---|
close, isOpen |
Methods inherited from interface org.jboss.xnio.channels.Configurable |
---|
getOption, setOption, supportsOption |
Method Detail |
---|
java.util.Collection<? extends T> getChannels()
IoFuture<? extends T> bind(A address)
address
- the address to bind to
ChannelListener.Setter<? extends T> getBindSetter()
ChannelListener.Setter<? extends BoundServer<A,T>> getCloseSetter()
getCloseSetter
in interface CloseableChannel
|
XNIO API 2.0.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |