Package io.grpc.xds
Interface XdsTransportFactory.EventHandler<RespT>
-
- Enclosing interface:
- XdsTransportFactory
public static interface XdsTransportFactory.EventHandler<RespT>An interface for handling events on a streaming call.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonReady()Called when the stream is ready to send additional messages.voidonRecvMessage(RespT message)Called when a message is received on the stream.voidonStatusReceived(io.grpc.Status status)Called when status is received on the stream.
-
-
-
Method Detail
-
onReady
void onReady()
Called when the stream is ready to send additional messages. If called the library use this handler to trigger resource arrival timeout, also seeXdsTransportFactory.StreamingCall.isReady(). Application is free to ignore it.
-
onRecvMessage
void onRecvMessage(RespT message)
Called when a message is received on the stream.
-
onStatusReceived
void onStatusReceived(io.grpc.Status status)
Called when status is received on the stream.
-
-