public class SubscriberWrapper<I,T> extends Object implements org.reactivestreams.Processor<T,T>
| Constructor and Description |
|---|
SubscriberWrapper(org.reactivestreams.Subscriber<I> subscriber,
Function<T,I> mapper,
Function<T,CompletionStage<Void>> postAck) |
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete() |
void |
onError(Throwable error) |
void |
onNext(T item) |
void |
onSubscribe(org.reactivestreams.Subscription s) |
void |
subscribe(org.reactivestreams.Subscriber<? super T> s) |
public void subscribe(org.reactivestreams.Subscriber<? super T> s)
subscribe in interface org.reactivestreams.Publisher<T>public void onSubscribe(org.reactivestreams.Subscription s)
onSubscribe in interface org.reactivestreams.Subscriber<T>public void onNext(T item)
onNext in interface org.reactivestreams.Subscriber<T>public void onError(Throwable error)
onError in interface org.reactivestreams.Subscriber<T>public void onComplete()
onComplete in interface org.reactivestreams.Subscriber<T>Copyright © 2018–2020 SmallRye. All rights reserved.