Class ProxyServiceChannel.ForwardingStreamObserver<Resp extends com.google.protobuf.Message>
java.lang.Object
com.oracle.coherence.grpc.proxy.common.ProxyServiceChannel.ForwardingStreamObserver<Resp>
- Type Parameters:
Resp- the type of the protocol responses
- All Implemented Interfaces:
io.grpc.stub.StreamObserver<Resp>
- Enclosing class:
ProxyServiceChannel
protected class ProxyServiceChannel.ForwardingStreamObserver<Resp extends com.google.protobuf.Message>
extends Object
implements io.grpc.stub.StreamObserver<Resp>
A
StreamObserver used to handle responses from the
GrpcServiceProtocol and convert them to a
ProxyResponse to send down the channel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoid
-
Constructor Details
-
ForwardingStreamObserver
public ForwardingStreamObserver(long nId) - Parameters:
nId- the identifier of the request message
-
-
Method Details
-
onNext
- Specified by:
onNextin interfaceio.grpc.stub.StreamObserver<Resp extends com.google.protobuf.Message>
-
onError
- Specified by:
onErrorin interfaceio.grpc.stub.StreamObserver<Resp extends com.google.protobuf.Message>
-
onCompleted
public void onCompleted()- Specified by:
onCompletedin interfaceio.grpc.stub.StreamObserver<Resp extends com.google.protobuf.Message>
-