public interface CloseableChannel extends InterruptibleChannel, Configurable
| 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.
|
XnioWorker |
getWorker()
Get the worker for this channel.
|
getOption, setOption, supportsOptionChannelListener.Setter<? extends CloseableChannel> getCloseSetter()
XnioWorker getWorker()
void close()
throws IOException
close in interface AutoCloseableclose in interface Channelclose in interface Closeableclose in interface InterruptibleChannelIOException - if the close failedCopyright © 2012 JBoss by Red Hat. All Rights Reserved.