org.reactivestreams.Subscriber<T>TestEnvironment.ManualSubscriberpublic static class TestEnvironment.TestSubscriber<T> extends java.lang.Object implements org.reactivestreams.Subscriber<T>
| Modifier and Type | Field | Description |
|---|---|---|
protected TestEnvironment |
env |
| Constructor | Description |
|---|---|
TestSubscriber(TestEnvironment env) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
cancel() |
|
void |
onComplete() |
|
void |
onError(java.lang.Throwable cause) |
|
void |
onNext(T element) |
|
void |
onSubscribe(org.reactivestreams.Subscription subscription) |
protected final TestEnvironment env
public TestSubscriber(TestEnvironment env)
public void onError(java.lang.Throwable cause)
onError in interface org.reactivestreams.Subscriber<T>public void onComplete()
onComplete in interface org.reactivestreams.Subscriber<T>public void onNext(T element)
onNext in interface org.reactivestreams.Subscriber<T>public void onSubscribe(org.reactivestreams.Subscription subscription)
onSubscribe in interface org.reactivestreams.Subscriber<T>public void cancel()