public class SynchronizedObserver<M> extends PassthroughObserver<M,M>
| Constructor and Description |
|---|
SynchronizedObserver(Observer<? super M> downstreamObserver,
java.lang.Object mutex) |
| Modifier and Type | Method and Description |
|---|---|
void |
onComplete() |
void |
onFail(java.lang.Throwable t) |
void |
onNext(M message)
The method which will receive notification from an
Observable. |
void |
onObserve(Observation observation) |
getDownstreamObserver, getObservation, initializeObservationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCompletion, onFailure, onObservation, singleUsepublic void onNext(M message)
ObserverObservable.public void onComplete()
onComplete in interface Observer<M>onComplete in class PassthroughObserver<M,M>public void onFail(java.lang.Throwable t)
public void onObserve(Observation observation)