public class FlatMappingObserver<T,U> extends PassthroughObserver<T,U>
| Constructor and Description |
|---|
FlatMappingObserver(Observer<? super U> downstreamObserver,
java.util.function.Function<? super T,? extends Observable<? extends U>> mapping,
RequestAllocator requestAllocator) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
getMutex() |
void |
onNext(T message)
The method which will receive notification from an
Observable. |
void |
onObserve(Observation observation) |
getDownstreamObserver, getObservation, initializeObservation, onComplete, onFailclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCompletion, onFailure, onObservation, singleUsepublic FlatMappingObserver(Observer<? super U> downstreamObserver, java.util.function.Function<? super T,? extends Observable<? extends U>> mapping, RequestAllocator requestAllocator)
protected java.lang.Object getMutex()
public void onObserve(Observation observation)
public void onNext(T message)
ObserverObservable.