Interface ServerListener

  • All Known Implementing Classes:
    ServerImpl.ServerListenerImpl

    public interface ServerListener
    A listener to a server for transport creation events. The listener need not be thread-safe, so notifications must be properly synchronized externally.
    • Method Detail

      • transportCreated

        ServerTransportListener transportCreated​(ServerTransport transport)
        Called upon the establishment of a new client connection.
        Parameters:
        transport - the new transport to be observed.
        Returns:
        a listener for stream creation events on the transport.
      • serverShutdown

        void serverShutdown()
        The server is shutting down. No new transports will be processed, but existing transports may continue. Shutdown is only caused by a call to InternalServer.shutdown(). All resources have been released.