- All Implemented Interfaces:
io.grpc.stub.StreamObserver<T>, Function<T,K>
public abstract class AbstractMappingStreamObserver<T,K>
extends Object
implements io.grpc.stub.StreamObserver<T>, Function<T,K>
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AbstractMappingStreamObserver
public AbstractMappingStreamObserver(io.grpc.stub.StreamObserver<K> delegate)
-
Method Details
-
onNext
public void onNext(T data)
- Specified by:
onNext in interface io.grpc.stub.StreamObserver<T>
-
onError
- Specified by:
onError in interface io.grpc.stub.StreamObserver<T>
-
onCompleted
public void onCompleted()
- Specified by:
onCompleted in interface io.grpc.stub.StreamObserver<T>