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, supportsOption
ChannelListener.Setter<? extends CloseableChannel> getCloseSetter()
XnioWorker getWorker()
XnioIoThread getIoThread()
void close() throws IOException
close
in interface AutoCloseable
close
in interface Channel
close
in interface Closeable
close
in interface InterruptibleChannel
IOException
- if the close failedCopyright © 2019 JBoss by Red Hat. All rights reserved.