Package akka.stream.impl
Class ActorSubscription<T>
- java.lang.Object
-
- akka.stream.impl.ActorSubscription<T>
-
- All Implemented Interfaces:
org.reactivestreams.Subscription
- Direct Known Subclasses:
ActorSubscriptionWithCursor
public class ActorSubscription<T> extends java.lang.Object implements org.reactivestreams.Subscription
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description ActorSubscription(ActorRef impl, org.reactivestreams.Subscriber<? super T> subscriber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
ActorRef
impl()
void
request(long elements)
org.reactivestreams.Subscriber<? super T>
subscriber()
-
-
-
Method Detail
-
cancel
public void cancel()
- Specified by:
cancel
in interfaceorg.reactivestreams.Subscription
-
impl
public final ActorRef impl()
-
request
public void request(long elements)
- Specified by:
request
in interfaceorg.reactivestreams.Subscription
-
subscriber
public final org.reactivestreams.Subscriber<? super T> subscriber()
-
-