Class FlowablePublishMulticast.MulticastProcessor<T>

java.lang.Object
io.reactivex.rxjava3.core.Flowable<T>
io.reactivex.rxjava3.internal.operators.flowable.FlowablePublishMulticast.MulticastProcessor<T>
All Implemented Interfaces:
FlowableSubscriber<T>, org.reactivestreams.Publisher<T>, org.reactivestreams.Subscriber<T>
Enclosing class:
FlowablePublishMulticast<T,R>

static final class FlowablePublishMulticast.MulticastProcessor<T> extends Flowable<T> implements FlowableSubscriber<T>
  • Field Details

  • Constructor Details

    • MulticastProcessor

      MulticastProcessor(int prefetch, boolean delayError)
  • Method Details

    • 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<T>
      Specified by:
      onSubscribe in interface org.reactivestreams.Subscriber<T>
    • dispose

      void dispose()
    • isDisposed

      boolean isDisposed()
    • onNext

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

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

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

    • remove

    • subscribeActual

      protected void subscribeActual(org.reactivestreams.Subscriber<? super T> s)
      Description copied from class: Flowable
      Operator implementations (both source and intermediate) should implement this method that performs the necessary business logic and handles the incoming Subscribers.

      There is no need to call any of the plugin hooks on the current Flowable instance or the Subscriber; all hooks and basic safeguards have been applied by Flowable.subscribe(Subscriber) before this method gets called.

      Specified by:
      subscribeActual in class Flowable<T>
      Parameters:
      s - the incoming Subscriber, never null
    • drain

      void drain()
    • errorAll

      void errorAll(Throwable ex)
    • completeAll

      void completeAll()