public interface CloseableChannel extends java.nio.channels.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 java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.nio.channels.Channelclose in interface java.io.Closeableclose in interface java.nio.channels.InterruptibleChanneljava.io.IOException - if the close failedCopyright © 2016 JBoss, a division of Red Hat, Inc.