|
XNIO API 3.0.4.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BoundChannel
A channel that is bound to a local address.
Method Summary | ||
---|---|---|
ChannelListener.Setter<? extends BoundChannel> |
getCloseSetter()
Get the setter which can be used to change the close listener for this channel. |
|
SocketAddress |
getLocalAddress()
Get the local address that this channel is bound to. |
|
|
getLocalAddress(Class<A> type)
Get the local address of a given type, or null if the address is not of that
type. |
Methods inherited from interface org.xnio.channels.CloseableChannel |
---|
close, getWorker |
Methods inherited from interface java.nio.channels.Channel |
---|
isOpen |
Methods inherited from interface org.xnio.channels.Configurable |
---|
getOption, setOption, supportsOption |
Method Detail |
---|
SocketAddress getLocalAddress()
<A extends SocketAddress> A getLocalAddress(Class<A> type)
null
if the address is not of that
type.
A
- the address typetype
- the address type class
null
if unknownChannelListener.Setter<? extends BoundChannel> getCloseSetter()
getCloseSetter
in interface CloseableChannel
|
XNIO API 3.0.4.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |