Package rx.internal.operators
Class SingleDoAfterTerminate.SingleDoAfterTerminateSubscriber<T>
java.lang.Object
rx.SingleSubscriber<T>
rx.internal.operators.SingleDoAfterTerminate.SingleDoAfterTerminateSubscriber<T>
- All Implemented Interfaces:
Subscription
- Enclosing class:
SingleDoAfterTerminate<T>
static final class SingleDoAfterTerminate.SingleDoAfterTerminateSubscriber<T>
extends SingleSubscriber<T>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Action0
(package private) final SingleSubscriber
<? super T> -
Constructor Summary
ConstructorsConstructorDescriptionSingleDoAfterTerminateSubscriber
(SingleSubscriber<? super T> actual, Action0 action) -
Method Summary
Methods inherited from class rx.SingleSubscriber
add, isUnsubscribed, unsubscribe
-
Field Details
-
actual
-
action
-
-
Constructor Details
-
SingleDoAfterTerminateSubscriber
-
-
Method Details
-
onSuccess
Description copied from class:SingleSubscriber
Notifies the SingleSubscriber with a single item and that theSingle
has finished sending push-based notifications.The
Single
will not call this method if it callsSingleSubscriber.onError(java.lang.Throwable)
.- Specified by:
onSuccess
in classSingleSubscriber<T>
- Parameters:
value
- the item emitted by the Single
-
onError
Description copied from class:SingleSubscriber
Notifies the SingleSubscriber that theSingle
has experienced an error condition.If the
Single
calls this method, it will not thereafter callSingleSubscriber.onSuccess(T)
.- Specified by:
onError
in classSingleSubscriber<T>
- Parameters:
error
- the exception encountered by the Single
-
doAction
void doAction()
-