public interface CloseableChannel extends InterruptibleChannel, Configurable
EMPTY| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this channel.
|
ChannelListener.Setter<? extends CloseableChannel> |
getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
XnioIoThread |
getIoThread()
Get the I/O thread associated with this channel.
|
XnioWorker |
getWorker()
Get the worker for this channel.
|
getOption, setOption, supportsOptionChannelListener.Setter<? extends CloseableChannel> getCloseSetter()
XnioWorker getWorker()
XnioIoThread getIoThread()
void close()
throws IOException
close in interface AutoCloseableclose in interface Channelclose in interface Closeableclose in interface InterruptibleChannelIOException - if the close failedCopyright © 2017 JBoss by Red Hat. All rights reserved.