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
FieldsModifier and TypeFieldDescription(package private) boolean
(package private) final ObservableWindowBoundary.WindowBoundaryMainObserver
<T, B> -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
Notifies theObserver
that theObservable
has finished sending push-based notifications.void
Notifies theObserver
that theObservable
has experienced an error condition.void
Provides theObserver
with a new item to observe.Methods inherited from class io.reactivex.rxjava3.observers.DisposableObserver
dispose, isDisposed, onStart, onSubscribe
-
Field Details
-
parent
-
done
boolean done
-
-
Constructor Details
-
WindowBoundaryInnerObserver
WindowBoundaryInnerObserver(ObservableWindowBoundary.WindowBoundaryMainObserver<T, B> parent)
-
-
Method Details
-
onNext
Description copied from interface:Observer
Provides theObserver
with a new item to observe.The
Observable
may call this method 0 or more times.The
Observable
will not call this method again after it calls eitherObserver.onComplete()
orObserver.onError(java.lang.Throwable)
.- Parameters:
t
- the item emitted by the Observable
-
onError
Description copied from interface:Observer
Notifies theObserver
that theObservable
has experienced an error condition.If the
Observable
calls 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:Observer
Notifies theObserver
that theObservable
has finished sending push-based notifications.The
Observable
will not call this method if it callsObserver.onError(java.lang.Throwable)
.
-