|
XNIO API 2.1.0.CR2 | |||||||||
| 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 listener setter for this channel. |
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 listener 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 |
|---|
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.1.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||