Package io.grpc.internal
Class ServerImpl.ServerListenerImpl
java.lang.Object
io.grpc.internal.ServerImpl.ServerListenerImpl
- All Implemented Interfaces:
ServerListener
- Enclosing class:
ServerImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThe server is shutting down.transportCreated(ServerTransport transport) Called upon the establishment of a new client connection.
-
Constructor Details
-
ServerListenerImpl
private ServerListenerImpl()
-
-
Method Details
-
transportCreated
Description copied from interface:ServerListenerCalled upon the establishment of a new client connection.- Specified by:
transportCreatedin interfaceServerListener- 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:ServerListenerThe server is shutting down. No new transports will be processed, but existing transports may continue. Shutdown is only caused by a call toInternalServer.shutdown(). All resources have been released.- Specified by:
serverShutdownin interfaceServerListener
-