Package io.quarkus.grpc.stubs
Class ManyToOneObserver<I,O>
java.lang.Object
io.smallrye.mutiny.operators.AbstractUni<O>
io.quarkus.grpc.stubs.ManyToOneObserver<I,O>
- All Implemented Interfaces:
io.grpc.stub.StreamObserver<O>,io.smallrye.mutiny.Uni<O>
public class ManyToOneObserver<I,O>
extends io.smallrye.mutiny.operators.AbstractUni<O>
implements io.grpc.stub.StreamObserver<O>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionManyToOneObserver(io.smallrye.mutiny.Multi<I> source, Function<io.grpc.stub.StreamObserver<O>, io.grpc.stub.StreamObserver<I>> function) -
Method Summary
Methods inherited from class io.smallrye.mutiny.operators.AbstractUni
await, awaitUsing, cache, convert, emitOn, ifNoItem, log, log, memoize, onCancellation, onFailure, onFailure, onFailure, onItem, onItemOrFailure, onSubscription, onTermination, repeat, runSubscriptionOn, subscribe, subscribe, toMulti, withContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.smallrye.mutiny.Uni
attachContext, call, call, chain, chain, eventually, eventually, flatMap, invoke, invoke, map, plug, replaceIfNullWith, replaceIfNullWith, replaceWith, replaceWith, replaceWith, replaceWithNull, replaceWithVoid, stage, subscribeAsCompletionStage, subscribeAsCompletionStage
-
Constructor Details
-
ManyToOneObserver
-
-
Method Details
-
subscribe
- Specified by:
subscribein classio.smallrye.mutiny.operators.AbstractUni<O>
-
onNext
- Specified by:
onNextin interfaceio.grpc.stub.StreamObserver<I>
-
onError
- Specified by:
onErrorin interfaceio.grpc.stub.StreamObserver<I>
-
onCompleted
public void onCompleted()- Specified by:
onCompletedin interfaceio.grpc.stub.StreamObserver<I>
-