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 TypeMethodDescriptionvoid
The 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:ServerListener
Called upon the establishment of a new client connection.- Specified by:
transportCreated
in 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:ServerListener
The 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:
serverShutdown
in interfaceServerListener
-