Package akka.stream.impl
Class SinkholeSubscriber<T>
- java.lang.Object
-
- akka.stream.impl.SinkholeSubscriber<T>
-
- All Implemented Interfaces:
org.reactivestreams.Subscriber<T>
public final class SinkholeSubscriber<T> extends java.lang.Object implements org.reactivestreams.Subscriber<T>
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description SinkholeSubscriber(scala.concurrent.Promise<Done> whenComplete)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onComplete()
void
onError(java.lang.Throwable cause)
void
onNext(T element)
void
onSubscribe(org.reactivestreams.Subscription sub)
-
-
-
Constructor Detail
-
SinkholeSubscriber
public SinkholeSubscriber(scala.concurrent.Promise<Done> whenComplete)
-
-
Method Detail
-
onComplete
public void onComplete()
- Specified by:
onComplete
in interfaceorg.reactivestreams.Subscriber<T>
-
onError
public void onError(java.lang.Throwable cause)
- Specified by:
onError
in interfaceorg.reactivestreams.Subscriber<T>
-
onNext
public void onNext(T element)
- Specified by:
onNext
in interfaceorg.reactivestreams.Subscriber<T>
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription sub)
- Specified by:
onSubscribe
in interfaceorg.reactivestreams.Subscriber<T>
-
-