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