public interface ServerTransportListener
Modifier and Type | Method and Description |
---|---|
void |
streamCreated(ServerStream stream,
String method,
Metadata headers)
Called when a new stream was created by the remote client.
|
Attributes |
transportReady(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, Metadata headers)
stream
- the newly created stream.method
- the fully qualified method name being called on the server.headers
- containing metadata for the call.Attributes transportReady(Attributes attributes)
attributes
- transport attributesvoid transportTerminated()
Copyright © 2018. All rights reserved.