| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final SingleSource |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | subscribeActual(final Subscriber<? super T>
the incoming Subscriber, never null s)Implements abstract io. Subscribers.
|
| source | back to summary |
|---|---|
| pack-priv final SingleSource<? extends T> source | |
| SingleToFlowable | back to summary |
|---|---|
| public SingleToFlowable(SingleSource<? extends T> source) | |
| subscribeActual | back to summary |
|---|---|
| public void subscribeActual(final Subscriber<? super T> s) Implements abstract io. Doc from io. Operator implementations (both source and intermediate) should implement this method that
performs the necessary business logic and handles the incoming There is no need to call any of the plugin hooks on the current
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| pack-priv Disposable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | cancel()
Overrides io. Implements org. Publisher to stop sending data and clean up resources.
|
| public void | onError(Throwable
the exception encountered by the Single e)Implements io. Single has experienced an error condition.
|
| public void | onSubscribe(Disposable
the Disposable instance whose d)Disposable#dispose() can
be called anytime to cancel the connectionImplements io. onSubscribe(Disposable) itself) and asynchronous manner.
|
| public void | onSuccess(T
the item emitted by the Single value)Implements io. Single has finished sending
push-based notifications.
|
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides io. | |
| upstream | back to summary |
|---|---|
| pack-priv Disposable upstream | |
| SingleToFlowableObserver | back to summary |
|---|---|
| pack-priv SingleToFlowableObserver(Subscriber<? super T> downstream) | |
| cancel | back to summary |
|---|---|
| public void cancel() Overrides io. Implements org. Doc from org. Request the Data may still be sent to meet previously signalled demand after calling cancel.
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) Implements io. Doc from io. Notifies the SingleObserver that the
If the | |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Disposable d) Implements io. Doc from io. Provides the SingleObserver with the means of cancelling (disposing) the
connection (channel) with the Single in both
synchronous (from within
| |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(T value) Implements io. Doc from io. Notifies the SingleObserver with a single item and that the
The
| |