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 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 see XdsTransportFactory.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.