public static interface GrpcClient.ResilientResponseObserver<ReqT,RespT>
extends io.grpc.stub.StreamObserver<RespT>
| Modifier and Type | Method and Description |
|---|---|
void |
onEstablished()
Called once initially, and once after each
onReplaced(StreamObserver),
to indicate the corresponding (sub) stream is successfully established |
void |
onReplaced(io.grpc.stub.StreamObserver<ReqT> newStreamRequestObserver)
Indicates the underlying stream failed and will be re-established.
|
void onEstablished()
onReplaced(StreamObserver),
to indicate the corresponding (sub) stream is successfully establishedvoid onReplaced(io.grpc.stub.StreamObserver<ReqT> newStreamRequestObserver)
onEstablished() or StreamObserver.onNext(Object) calls received will
be responses from this new stream, it's guaranteed that there will
be no more from the prior stream.newStreamRequestObserver - Copyright © 2023. All rights reserved.