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 TypeMethodDescriptionvoid
void
void
-
Constructor Details
-
ForwardingStreamObserver
public ForwardingStreamObserver(long nId) - Parameters:
nId
- the identifier of the request message
-
-
Method Details
-
onNext
- Specified by:
onNext
in interfaceio.grpc.stub.StreamObserver<Resp extends com.google.protobuf.Message>
-
onError
- Specified by:
onError
in interfaceio.grpc.stub.StreamObserver<Resp extends com.google.protobuf.Message>
-
onCompleted
public void onCompleted()- Specified by:
onCompleted
in interfaceio.grpc.stub.StreamObserver<Resp extends com.google.protobuf.Message>
-