Class GenericTCPServer.ServerContext

  • Enclosing class:
    GenericTCPServer

    public final class GenericTCPServer.ServerContext
    extends Object
    Information passed to a server implementation to provide execution context.
    • Method Detail

      • getListenAddress

        public InetSocketAddress getListenAddress()
        Returns the address on which the server is listening.
        Returns:
        the listening address for the server
      • startShutdown

        public void startShutdown()
        Can be invoked to start shutdown of the server