java.io.Closeable, java.lang.AutoCloseable, Releasable, NioChannel, TcpChannelpublic class TcpNioServerSocketChannel extends NioServerSocketChannel implements TcpChannel
NioServerSocketChannel that adheres to the TcpChannel
interface. As it is a server socket, setting SO_LINGER and sending messages is not supported.| Modifier and Type | Method | Description |
|---|---|---|
void |
sendMessage(BytesReference reference,
ActionListener<java.lang.Void> listener) |
|
void |
setSoLinger(int value) |
|
java.lang.String |
toString() |
addCloseListener, close, closeFromSelector, getLocalAddress, getRawChannel, getSelectionKey, getSelector, isOpen, registergetAcceptContext, getChannelFactory, setAcceptContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddCloseListener, close, getLocalAddress, isOpenpublic void sendMessage(BytesReference reference, ActionListener<java.lang.Void> listener)
sendMessage in interface TcpChannelpublic void setSoLinger(int value)
throws java.io.IOException
setSoLinger in interface TcpChanneljava.io.IOExceptionpublic java.lang.String toString()
toString in class NioServerSocketChannel