Package io.smallrye.mutiny.streams.utils
Class ConnectableProcessor<T>
- java.lang.Object
-
- io.smallrye.mutiny.streams.utils.ConnectableProcessor<T>
-
- All Implemented Interfaces:
org.reactivestreams.Processor<T,T>,org.reactivestreams.Publisher<T>,org.reactivestreams.Subscriber<T>
public class ConnectableProcessor<T> extends java.lang.Object implements org.reactivestreams.Processor<T,T>A processor forwarding to a subscriber. This is used to connect a "next to be" producer.
-
-
Constructor Summary
Constructors Constructor Description ConnectableProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonComplete()voidonError(java.lang.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>
-
onComplete
public void onComplete()
- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<T>
-
onError
public void onError(java.lang.Throwable throwable)
- Specified by:
onErrorin interfaceorg.reactivestreams.Subscriber<T>
-
-