public abstract class WriteStreamSubscriber<R> extends Subscriber<R>
WriteStream
to Subscriber
adapter.Constructor and Description |
---|
WriteStreamSubscriber() |
Modifier and Type | Method and Description |
---|---|
abstract WriteStreamSubscriber<R> |
onError(Action1<Throwable> handler)
Sets the handler to invoke if the
Observable that was subscribed to terminates with an error. |
abstract WriteStreamSubscriber<R> |
onWriteStreamEnd(Action0 handler)
Sets the handler to invoke when the adapted
WriteStream ends successfully. |
abstract WriteStreamSubscriber<R> |
onWriteStreamEndError(Action1<Throwable> handler)
Sets the handler to invoke when the adapted
WriteStream ends with an error. |
abstract WriteStreamSubscriber<R> |
onWriteStreamError(Action1<Throwable> handler)
Sets the handler to invoke if the adapted
WriteStream fails. |
add, isUnsubscribed, onStart, request, setProducer, unsubscribe
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onCompleted, onError, onNext
public abstract WriteStreamSubscriber<R> onError(Action1<Throwable> handler)
Observable
that was subscribed to terminates with an error.
The underlying WriteStream.end()
method is not invoked in this case.
public abstract WriteStreamSubscriber<R> onWriteStreamError(Action1<Throwable> handler)
WriteStream
fails.
The underlying WriteStream.end()
method is not invoked in this case.
public abstract WriteStreamSubscriber<R> onWriteStreamEnd(Action0 handler)
WriteStream
ends successfully.public abstract WriteStreamSubscriber<R> onWriteStreamEndError(Action1<Throwable> handler)
WriteStream
ends with an error.Copyright © 2024 Eclipse. All rights reserved.