Package org.reactivestreams.tck
Class TestEnvironment.ManualSubscriberWithSubscriptionSupport<T>
- java.lang.Object
-
- org.reactivestreams.tck.TestEnvironment.TestSubscriber<T>
-
- org.reactivestreams.tck.TestEnvironment.ManualSubscriber<T>
-
- org.reactivestreams.tck.TestEnvironment.ManualSubscriberWithSubscriptionSupport<T>
-
- All Implemented Interfaces:
org.reactivestreams.Subscriber<T>
- Direct Known Subclasses:
IdentityProcessorVerification.ManualSubscriberWithErrorCollection
,TestEnvironment.BlackholeSubscriberWithSubscriptionSupport
- Enclosing class:
- TestEnvironment
public static class TestEnvironment.ManualSubscriberWithSubscriptionSupport<T> extends TestEnvironment.ManualSubscriber<T>
-
-
Field Summary
-
Fields inherited from class org.reactivestreams.tck.TestEnvironment.TestSubscriber
env
-
-
Constructor Summary
Constructors Constructor Description ManualSubscriberWithSubscriptionSupport(TestEnvironment env)
-
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 s)
-
Methods inherited from class org.reactivestreams.tck.TestEnvironment.ManualSubscriber
expectCompletion, expectCompletion, expectCompletion, expectCompletion, expectError, expectError, expectError, expectError, expectError, expectError, expectErrorWithMessage, expectErrorWithMessage, expectErrorWithMessage, expectErrorWithMessage, expectErrorWithMessage, expectNext, expectNext, expectNone, expectNone, expectNone, expectNone, nextElement, nextElement, nextElement, nextElement, nextElementOrEndOfStream, nextElementOrEndOfStream, nextElementOrEndOfStream, nextElements, nextElements, nextElements, nextElements, request, requestEndOfStream, requestEndOfStream, requestEndOfStream, requestEndOfStream, requestNextElement, requestNextElement, requestNextElement, requestNextElement, requestNextElementOrEndOfStream, requestNextElementOrEndOfStream, requestNextElementOrEndOfStream, requestNextElementOrEndOfStream, requestNextElements, requestNextElements, requestNextElements
-
Methods inherited from class org.reactivestreams.tck.TestEnvironment.TestSubscriber
cancel
-
-
-
-
Constructor Detail
-
ManualSubscriberWithSubscriptionSupport
public ManualSubscriberWithSubscriptionSupport(TestEnvironment env)
-
-
Method Detail
-
onNext
public void onNext(T element)
- Specified by:
onNext
in interfaceorg.reactivestreams.Subscriber<T>
- Overrides:
onNext
in classTestEnvironment.ManualSubscriber<T>
-
onComplete
public void onComplete()
- Specified by:
onComplete
in interfaceorg.reactivestreams.Subscriber<T>
- Overrides:
onComplete
in classTestEnvironment.ManualSubscriber<T>
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription s)
- Specified by:
onSubscribe
in interfaceorg.reactivestreams.Subscriber<T>
- Overrides:
onSubscribe
in classTestEnvironment.TestSubscriber<T>
-
onError
public void onError(java.lang.Throwable cause)
- Specified by:
onError
in interfaceorg.reactivestreams.Subscriber<T>
- Overrides:
onError
in classTestEnvironment.TestSubscriber<T>
-
-