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, supportsOption
ChannelListener.Setter<? extends CloseableChannel> getCloseSetter()
XnioWorker getWorker()
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 © 2012 JBoss by Red Hat. All Rights Reserved.