Module io.helidon.grpc.server
Package io.helidon.grpc.server
Class CollectingObserver<T,V,U,A,R>
- java.lang.Object
-
- io.helidon.grpc.server.CollectingObserver<T,V,U,A,R>
-
- Type Parameters:
T
- ToDo: Add JavaDocV
- ToDo: Add JavaDocU
- ToDo: Add JavaDocA
- ToDo: Add JavaDocR
- ToDo: Add JavaDoc
- All Implemented Interfaces:
io.grpc.stub.StreamObserver<V>
public class CollectingObserver<T,V,U,A,R> extends Object implements io.grpc.stub.StreamObserver<V>
AStreamObserver
.
-
-
Constructor Summary
Constructors Constructor Description CollectingObserver(Collector<T,A,R> collector, io.grpc.stub.StreamObserver<U> responseObserver)
ToDo: Add JavaDoc.CollectingObserver(Collector<T,A,R> collector, io.grpc.stub.StreamObserver<U> responseObserver, Consumer<Throwable> errorHandler)
ToDo: Add JavaDoc.CollectingObserver(Collector<T,A,R> collector, io.grpc.stub.StreamObserver<U> responseObserver, Function<V,T> requestConverter, Function<R,U> responseConverter)
ToDo: Add JavaDoc.CollectingObserver(Collector<T,A,R> collector, io.grpc.stub.StreamObserver<U> observer, Function<V,T> requestConverter, Function<R,U> responseConverter, Consumer<Throwable> errorHandler)
ToDo: Add JavaDoc.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCompleted()
void
onError(Throwable t)
void
onNext(V value)
-
-
-
Constructor Detail
-
CollectingObserver
public CollectingObserver(Collector<T,A,R> collector, io.grpc.stub.StreamObserver<U> responseObserver)
ToDo: Add JavaDoc.- Parameters:
collector
- ToDo: Add JavaDocresponseObserver
- ToDo: Add JavaDoc
-
CollectingObserver
public CollectingObserver(Collector<T,A,R> collector, io.grpc.stub.StreamObserver<U> responseObserver, Consumer<Throwable> errorHandler)
ToDo: Add JavaDoc.- Parameters:
collector
- ToDo: Add JavaDocresponseObserver
- ToDo: Add JavaDocerrorHandler
- ToDo: Add JavaDoc
-
CollectingObserver
public CollectingObserver(Collector<T,A,R> collector, io.grpc.stub.StreamObserver<U> responseObserver, Function<V,T> requestConverter, Function<R,U> responseConverter)
ToDo: Add JavaDoc.- Parameters:
collector
- ToDo: Add JavaDocresponseObserver
- ToDo: Add JavaDocrequestConverter
- ToDo: Add JavaDocresponseConverter
- ToDo: Add JavaDoc
-
CollectingObserver
public CollectingObserver(Collector<T,A,R> collector, io.grpc.stub.StreamObserver<U> observer, Function<V,T> requestConverter, Function<R,U> responseConverter, Consumer<Throwable> errorHandler)
ToDo: Add JavaDoc.- Parameters:
collector
- ToDo: Add JavaDocobserver
- ToDo: Add JavaDocrequestConverter
- ToDo: Add JavaDocresponseConverter
- ToDo: Add JavaDocerrorHandler
- ToDo: Add JavaDoc
-
-
Method Detail
-
onNext
public void onNext(V value)
- Specified by:
onNext
in interfaceio.grpc.stub.StreamObserver<T>
-
onError
public void onError(Throwable t)
- Specified by:
onError
in interfaceio.grpc.stub.StreamObserver<T>
-
onCompleted
public void onCompleted()
- Specified by:
onCompleted
in interfaceio.grpc.stub.StreamObserver<T>
-
-