Package org.elasticsearch.nio
Class NioSocketChannel
java.lang.Object
org.elasticsearch.nio.NioChannel
org.elasticsearch.nio.NioSocketChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConnectListener(BiConsumer<Void,Exception> listener)voidsetContext(SocketChannelContext context)toString()Methods inherited from class org.elasticsearch.nio.NioChannel
addCloseListener, close, isOpen
-
Constructor Details
-
NioSocketChannel
-
-
Method Details
-
setContext
-
getLocalAddress
- Specified by:
getLocalAddressin classNioChannel
-
getRawChannel
- Specified by:
getRawChannelin classNioChannel
-
getContext
- Specified by:
getContextin classNioChannel
-
getRemoteAddress
-
addConnectListener
-
toString
-