T - @Deprecated public final class SynchronizedSubscriber<T> extends Subscriber<T>
Execution rules are:
| Constructor and Description |
|---|
SynchronizedSubscriber(Subscriber<? super T> subscriber)
Deprecated.
Used when synchronizing an Subscriber without access to the subscription.
|
SynchronizedSubscriber(Subscriber<? super T> subscriber,
java.lang.Object lock)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onCompleted()
Deprecated.
Notifies the Observer that the
Observable has finished sending push-based notifications. |
void |
onError(java.lang.Throwable e)
Deprecated.
Notifies the Observer that the
Observable has experienced an error condition. |
void |
onNext(T t)
Deprecated.
Provides the Observer with new data.
|
add, isUnsubscribed, unsubscribepublic SynchronizedSubscriber(Subscriber<? super T> subscriber, java.lang.Object lock)
public SynchronizedSubscriber(Subscriber<? super T> subscriber)
subscriber - public void onCompleted()
ObserverObservable has finished sending push-based notifications.
The Observable will not call this closure if it calls onError.
public void onError(java.lang.Throwable e)
ObserverObservable has experienced an error condition.
If the Observable calls this closure, it will not thereafter call onNext or
onCompleted.
public void onNext(T t)
Observer
The Observable calls this closure 1 or more times, unless it calls onError in which
case this closure may never be called.
The Observable will not call this closure again after it calls either onCompleted or
onError.