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 the TcpTransport and TransportService. All tcp transport implementations must return server channels that adhere to the required method contracts.
  • Method Summary

    Modifier and Type Method Description
    java.net.InetSocketAddress getLocalAddress()
    Returns the local address for this channel.

    Methods inherited from interface org.elasticsearch.common.network.CloseableChannel

    addCloseListener, close, isOpen
  • Method Details

    • getLocalAddress

      java.net.InetSocketAddress getLocalAddress()
      Returns the local address for this channel.
      Returns:
      the local address of this channel.