Class WrappedProcessor<T>
- java.lang.Object
-
- io.smallrye.reactive.streams.utils.WrappedProcessor<T>
-
- All Implemented Interfaces:
org.reactivestreams.Processor<T,T>,org.reactivestreams.Publisher<T>,org.reactivestreams.Subscriber<T>
public class WrappedProcessor<T> extends Object implements org.reactivestreams.Processor<T,T>
Processor wrapping a publisher and subscriber, and connect them
-
-
Constructor Summary
Constructors Constructor Description WrappedProcessor(org.reactivestreams.Subscriber<T> subscriber, org.reactivestreams.Publisher<T> publisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonComplete()voidonError(Throwable throwable)voidonNext(T item)voidonSubscribe(org.reactivestreams.Subscription subscription)voidsubscribe(org.reactivestreams.Subscriber<? super T> subscriber)
-
-
-
Method Detail
-
subscribe
public void subscribe(org.reactivestreams.Subscriber<? super T> subscriber)
- Specified by:
subscribein interfaceorg.reactivestreams.Publisher<T>
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription subscription)
- Specified by:
onSubscribein interfaceorg.reactivestreams.Subscriber<T>
-
onNext
public void onNext(T item)
- Specified by:
onNextin interfaceorg.reactivestreams.Subscriber<T>
-
onError
public void onError(Throwable throwable)
- Specified by:
onErrorin interfaceorg.reactivestreams.Subscriber<T>
-
onComplete
public void onComplete()
- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<T>
-
-