Class ObservableWindowBoundary.WindowBoundaryInnerObserver<T,B>
- java.lang.Object
-
- io.reactivex.rxjava3.observers.DisposableObserver<B>
-
- io.reactivex.rxjava3.internal.operators.observable.ObservableWindowBoundary.WindowBoundaryInnerObserver<T,B>
-
- All Implemented Interfaces:
Observer<B>,Disposable
- Enclosing class:
- ObservableWindowBoundary<T,B>
static final class ObservableWindowBoundary.WindowBoundaryInnerObserver<T,B> extends DisposableObserver<B>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) booleandone(package private) ObservableWindowBoundary.WindowBoundaryMainObserver<T,B>parent
-
Constructor Summary
Constructors Constructor Description WindowBoundaryInnerObserver(ObservableWindowBoundary.WindowBoundaryMainObserver<T,B> parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonComplete()Notifies theObserverthat theObservablehas finished sending push-based notifications.voidonError(java.lang.Throwable t)Notifies theObserverthat theObservablehas experienced an error condition.voidonNext(B t)Provides theObserverwith a new item to observe.-
Methods inherited from class io.reactivex.rxjava3.observers.DisposableObserver
dispose, isDisposed, onStart, onSubscribe
-
-
-
-
Field Detail
-
parent
final ObservableWindowBoundary.WindowBoundaryMainObserver<T,B> parent
-
done
boolean done
-
-
Constructor Detail
-
WindowBoundaryInnerObserver
WindowBoundaryInnerObserver(ObservableWindowBoundary.WindowBoundaryMainObserver<T,B> parent)
-
-
Method Detail
-
onNext
public void onNext(B t)
Description copied from interface:ObserverProvides theObserverwith a new item to observe.The
Observablemay call this method 0 or more times.The
Observablewill not call this method again after it calls eitherObserver.onComplete()orObserver.onError(java.lang.Throwable).- Parameters:
t- the item emitted by the Observable
-
onError
public void onError(java.lang.Throwable t)
Description copied from interface:ObserverNotifies theObserverthat theObservablehas experienced an error condition.If the
Observablecalls this method, it will not thereafter callObserver.onNext(T)orObserver.onComplete().- Parameters:
t- the exception encountered by the Observable
-
onComplete
public void onComplete()
Description copied from interface:ObserverNotifies theObserverthat theObservablehas finished sending push-based notifications.The
Observablewill not call this method if it callsObserver.onError(java.lang.Throwable).
-
-