@PublicApi public class DelegatingSubscription extends java.lang.Object implements org.reactivestreams.Subscription
Constructor and Description |
---|
DelegatingSubscription(org.reactivestreams.Subscription upstreamSubscription) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
org.reactivestreams.Subscription |
getUpstreamSubscription()
Get instance of upstreamSubscription
|
void |
request(long n) |
public DelegatingSubscription(org.reactivestreams.Subscription upstreamSubscription)
public void request(long n)
request
in interface org.reactivestreams.Subscription
public void cancel()
cancel
in interface org.reactivestreams.Subscription
public org.reactivestreams.Subscription getUpstreamSubscription()
Subscription