Package io.smallrye.mutiny.streams.utils
Class WrappedProcessor<T>
java.lang.Object
io.smallrye.mutiny.streams.utils.WrappedProcessor<T>
- All Implemented Interfaces:
org.reactivestreams.Processor<T,,T> org.reactivestreams.Publisher<T>,org.reactivestreams.Subscriber<T>
Processor wrapping a publisher and subscriber, and connect them
-
Constructor Summary
ConstructorsConstructorDescriptionWrappedProcessor(org.reactivestreams.Subscriber<T> subscriber, org.reactivestreams.Publisher<T> publisher) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidonSubscribe(org.reactivestreams.Subscription subscription) void
-
Constructor Details
-
WrappedProcessor
-
-
Method Details
-
subscribe
- Specified by:
subscribein interfaceorg.reactivestreams.Publisher<T>
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription subscription) - Specified by:
onSubscribein interfaceorg.reactivestreams.Subscriber<T>
-
onNext
- Specified by:
onNextin interfaceorg.reactivestreams.Subscriber<T>
-
onError
- Specified by:
onErrorin interfaceorg.reactivestreams.Subscriber<T>
-
onComplete
public void onComplete()- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<T>
-