Class ActorProcessor<I,​O>

  • All Implemented Interfaces:
    org.reactivestreams.Processor<I,​O>, org.reactivestreams.Publisher<O>, org.reactivestreams.Subscriber<I>

    public class ActorProcessor<I,​O>
    extends ActorPublisher<O>
    implements org.reactivestreams.Processor<I,​O>
    INTERNAL API
    • Constructor Detail

      • ActorProcessor

        public ActorProcessor​(ActorRef impl)
    • Method Detail

      • wakeUpMsg

        protected static java.lang.Object wakeUpMsg()
      • subscribe

        public static void subscribe​(org.reactivestreams.Subscriber<? super T> subscriber)
      • takePendingSubscribers

        public static scala.collection.immutable.Seq<org.reactivestreams.Subscriber<? super T>> takePendingSubscribers()
      • shutdown

        public static void shutdown​(scala.Option<java.lang.Throwable> reason)
      • onSubscribe

        public void onSubscribe​(org.reactivestreams.Subscription s)
        Specified by:
        onSubscribe in interface org.reactivestreams.Subscriber<I>
      • onError

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

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

        public void onNext​(I elem)
        Specified by:
        onNext in interface org.reactivestreams.Subscriber<I>