public interface ServerTransportListener
| Modifier and Type | Method and Description |
|---|---|
void |
streamCreated(ServerStream stream,
String method,
io.grpc.Metadata headers)
Called when a new stream was created by the remote client.
|
io.grpc.Attributes |
transportReady(io.grpc.Attributes attributes)
The transport has finished all handshakes and is ready to process streams.
|
void |
transportTerminated()
The transport completed shutting down.
|
void streamCreated(ServerStream stream, String method, io.grpc.Metadata headers)
stream - the newly created stream.method - the fully qualified method name being called on the server.headers - containing metadata for the call.io.grpc.Attributes transportReady(io.grpc.Attributes attributes)
attributes - transport attributesvoid transportTerminated()