public interface BoundChannel extends CloseableChannel
EMPTY
Modifier and Type | Method and Description |
---|---|
ChannelListener.Setter<? extends BoundChannel> |
getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
java.net.SocketAddress |
getLocalAddress()
Get the local address that this channel is bound to.
|
<A extends java.net.SocketAddress> |
getLocalAddress(java.lang.Class<A> type)
Get the local address of a given type, or
null if the address is not of that
type. |
close, getIoThread, getWorker
getOption, setOption, supportsOption
java.net.SocketAddress getLocalAddress()
<A extends java.net.SocketAddress> A getLocalAddress(java.lang.Class<A> type)
null
if the address is not of that
type.A
- the address typetype
- the address type classnull
if unknownChannelListener.Setter<? extends BoundChannel> getCloseSetter()
getCloseSetter
in interface CloseableChannel
Copyright © 2016 JBoss, a division of Red Hat, Inc.