T - parameter of the wrapped Emitterpublic class QueueReleasingEmitterWrapper<T>
extends java.lang.Object
QueueOperation subclasses. It wraps the Emitter
and QueueReleaseInterface and makes sure that the rx.Subscription it was subscribed to will finish and call
QueueReleaseInterface.release() in either #onCompleted() or onError(Throwable) in case of the wrapped emitter
being unsubscribed / canceled.| Constructor and Description |
|---|
QueueReleasingEmitterWrapper(<any> emitter,
QueueReleaseInterface queueReleaseInterface) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
boolean |
isWrappedEmitterUnsubscribed() |
void |
onComplete() |
void |
onError(java.lang.Throwable e) |
void |
onNext(T t) |
void |
onSubscribe(Disposable d) |
public QueueReleasingEmitterWrapper(<any> emitter,
QueueReleaseInterface queueReleaseInterface)
public void onComplete()
public void onError(java.lang.Throwable e)
public void onSubscribe(Disposable d)
public void onNext(T t)
public void cancel()
throws java.lang.Exception
java.lang.Exceptionpublic boolean isWrappedEmitterUnsubscribed()