Package org.elasticsearch.transport
Interface TcpServerChannel
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.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 theTcpTransport
andTransportService
. 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 java.net.InetSocketAddress
getLocalAddress()
Returns the local address for this channel.java.lang.String
getProfile()
This returns the profile for this channel.-
Methods inherited from interface org.elasticsearch.common.network.CloseableChannel
addCloseListener, close, isOpen
-
-