Package io.grpc.xds.client
Interface XdsTransportFactory.EventHandler<RespT>
-
- All Known Implementing Classes:
ControlPlaneClient.AdsStream
,LoadReportClient.LrsStream
- 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 void
onReady()
Called when the stream is ready to send additional messages.void
onRecvMessage(RespT message)
Called when a message is received on the stream.void
onStatusReceived(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.
-
-