Class FlowablePublishMulticast.OutputCanceller<R>

  • All Implemented Interfaces:
    FlowableSubscriber<R>, org.reactivestreams.Subscriber<R>, org.reactivestreams.Subscription
    Enclosing class:
    FlowablePublishMulticast<T,​R>

    static final class FlowablePublishMulticast.OutputCanceller<R>
    extends java.lang.Object
    implements FlowableSubscriber<R>, org.reactivestreams.Subscription
    • Method Detail

      • onSubscribe

        public void onSubscribe​(org.reactivestreams.Subscription s)
        Description copied from interface: FlowableSubscriber
        Implementors of this method should make sure everything that needs to be visible in Subscriber.onNext(Object) is established before calling Subscription.request(long). In practice this means no initialization should happen after the request() call and additional behavior is thread safe in respect to onNext.
        Specified by:
        onSubscribe in interface FlowableSubscriber<R>
        Specified by:
        onSubscribe in interface org.reactivestreams.Subscriber<R>
      • onNext

        public void onNext​(R t)
        Specified by:
        onNext in interface org.reactivestreams.Subscriber<R>
      • onError

        public void onError​(java.lang.Throwable t)
        Specified by:
        onError in interface org.reactivestreams.Subscriber<R>
      • onComplete

        public void onComplete()
        Specified by:
        onComplete in interface org.reactivestreams.Subscriber<R>
      • request

        public void request​(long n)
        Specified by:
        request in interface org.reactivestreams.Subscription
      • cancel

        public void cancel()
        Specified by:
        cancel in interface org.reactivestreams.Subscription