
public interface CloseableChannel extends java.nio.channels.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 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 © 2010 JBoss, a division of Red Hat, Inc.