Package rx.internal.operators
Class OnSubscribeOnAssemblySingle.OnAssemblySingleSubscriber<T>
- java.lang.Object
-
- rx.SingleSubscriber<T>
-
- rx.internal.operators.OnSubscribeOnAssemblySingle.OnAssemblySingleSubscriber<T>
-
- All Implemented Interfaces:
Subscription
- Enclosing class:
- OnSubscribeOnAssemblySingle<T>
static final class OnSubscribeOnAssemblySingle.OnAssemblySingleSubscriber<T> extends SingleSubscriber<T>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) SingleSubscriber<? super T>actual(package private) java.lang.Stringstacktrace
-
Constructor Summary
Constructors Constructor Description OnAssemblySingleSubscriber(SingleSubscriber<? super T> actual, java.lang.String stacktrace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonError(java.lang.Throwable e)Notifies the SingleSubscriber that theSinglehas experienced an error condition.voidonSuccess(T t)Notifies the SingleSubscriber with a single item and that theSinglehas finished sending push-based notifications.-
Methods inherited from class rx.SingleSubscriber
add, isUnsubscribed, unsubscribe
-
-
-
-
Field Detail
-
actual
final SingleSubscriber<? super T> actual
-
stacktrace
final java.lang.String stacktrace
-
-
Constructor Detail
-
OnAssemblySingleSubscriber
public OnAssemblySingleSubscriber(SingleSubscriber<? super T> actual, java.lang.String stacktrace)
-
-
Method Detail
-
onError
public void onError(java.lang.Throwable e)
Description copied from class:SingleSubscriberNotifies the SingleSubscriber that theSinglehas experienced an error condition.If the
Singlecalls this method, it will not thereafter callSingleSubscriber.onSuccess(T).- Specified by:
onErrorin classSingleSubscriber<T>- Parameters:
e- the exception encountered by the Single
-
onSuccess
public void onSuccess(T t)
Description copied from class:SingleSubscriberNotifies the SingleSubscriber with a single item and that theSinglehas finished sending push-based notifications.The
Singlewill not call this method if it callsSingleSubscriber.onError(java.lang.Throwable).- Specified by:
onSuccessin classSingleSubscriber<T>- Parameters:
t- the item emitted by the Single
-
-