Class ServerImpl.ServerListenerImpl

java.lang.Object
io.grpc.internal.ServerImpl.ServerListenerImpl
All Implemented Interfaces:
ServerListener
Enclosing class:
ServerImpl

private final class ServerImpl.ServerListenerImpl extends Object implements ServerListener
  • Constructor Details

    • ServerListenerImpl

      private ServerListenerImpl()
  • Method Details

    • transportCreated

      public ServerTransportListener transportCreated(ServerTransport transport)
      Description copied from interface: ServerListener
      Called upon the establishment of a new client connection.
      Specified by:
      transportCreated in interface ServerListener
      Parameters:
      transport - the new transport to be observed.
      Returns:
      a listener for stream creation events on the transport.
    • serverShutdown

      public void serverShutdown()
      Description copied from interface: ServerListener
      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.
      Specified by:
      serverShutdown in interface ServerListener