Class DelegatingSubscriber<T,U>
- java.lang.Object
-
- software.amazon.awssdk.utils.async.DelegatingSubscriber<T,U>
-
- All Implemented Interfaces:
org.reactivestreams.Subscriber<T>
- Direct Known Subclasses:
AddingTrailingDataSubscriber
,BufferingSubscriber
,EventListeningSubscriber
,FilteringSubscriber
,FlatteningSubscriber
,LimitingSubscriber
public abstract class DelegatingSubscriber<T,U> extends Object implements org.reactivestreams.Subscriber<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected org.reactivestreams.Subscriber<? super U>
subscriber
-
Constructor Summary
Constructors Modifier Constructor Description protected
DelegatingSubscriber(org.reactivestreams.Subscriber<? super U> subscriber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onComplete()
void
onError(Throwable throwable)
void
onSubscribe(org.reactivestreams.Subscription subscription)
-
-
-
Field Detail
-
subscriber
protected final org.reactivestreams.Subscriber<? super U> subscriber
-
-
Constructor Detail
-
DelegatingSubscriber
protected DelegatingSubscriber(org.reactivestreams.Subscriber<? super U> subscriber)
-
-
Method Detail
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription subscription)
- Specified by:
onSubscribe
in interfaceorg.reactivestreams.Subscriber<T>
-
onError
public void onError(Throwable throwable)
- Specified by:
onError
in interfaceorg.reactivestreams.Subscriber<T>
-
onComplete
public void onComplete()
- Specified by:
onComplete
in interfaceorg.reactivestreams.Subscriber<T>
-
-