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.
      java.lang.String getProfile()
      This returns the profile for this channel.
    • Method Detail

      • getProfile

        java.lang.String getProfile()
        This returns the profile for this channel.
      • getLocalAddress

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