Package org.reactivestreams
Class FlowAdapters.FlowToReactiveSubscriber<T>
java.lang.Object
org.reactivestreams.FlowAdapters.FlowToReactiveSubscriber<T>
- Type Parameters:
T
- the element type
- All Implemented Interfaces:
Flow.Subscriber<T>
- Enclosing class:
FlowAdapters
static final class FlowAdapters.FlowToReactiveSubscriber<T>
extends Object
implements Flow.Subscriber<T>
Wraps a Reactive Streams Subscriber and forwards methods of the Flow Subscriber to it.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
onSubscribe
(Flow.Subscription subscription)
-
Field Details
-
reactiveStreams
-
-
Constructor Details
-
FlowToReactiveSubscriber
-
-
Method Details
-
onSubscribe
- Specified by:
onSubscribe
in interfaceFlow.Subscriber<T>
-
onNext
- Specified by:
onNext
in interfaceFlow.Subscriber<T>
-
onError
- Specified by:
onError
in interfaceFlow.Subscriber<T>
-
onComplete
public void onComplete()- Specified by:
onComplete
in interfaceFlow.Subscriber<T>
-