Package org.elasticsearch.transport
Interface TcpServerChannel
- All Superinterfaces:
AutoCloseable,Closeable,CloseableChannel
This is a tcp channel representing a server channel listening for new connections. It is the server
channel abstraction used by the
TcpTransport and TransportService. All tcp transport
implementations must return server channels that adhere to the required method contracts.-
Method Summary
Modifier and TypeMethodDescriptionReturns the local address for this channel.Methods inherited from interface org.elasticsearch.common.network.CloseableChannel
addCloseListener, close, isOpen
-
Method Details
-
getLocalAddress
InetSocketAddress getLocalAddress()Returns the local address for this channel.- Returns:
- the local address of this channel.
-