Class WrappedSubscriber<T>

  • All Implemented Interfaces:
    org.reactivestreams.Subscriber<T>

    public class WrappedSubscriber<T>
    extends java.lang.Object
    implements org.reactivestreams.Subscriber<T>
    Author:
    Clement Escoffier
    • Constructor Summary

      Constructors 
      Constructor Description
      WrappedSubscriber​(org.reactivestreams.Subscriber<T> delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletionStage<java.lang.Void> future()  
      void onComplete()  
      void onError​(java.lang.Throwable throwable)  
      void onNext​(T item)  
      void onSubscribe​(org.reactivestreams.Subscription subscription)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WrappedSubscriber

        public WrappedSubscriber​(org.reactivestreams.Subscriber<T> delegate)
    • Method Detail

      • future

        public java.util.concurrent.CompletionStage<java.lang.Void> future()
      • onSubscribe

        public void onSubscribe​(org.reactivestreams.Subscription subscription)
        Specified by:
        onSubscribe in interface org.reactivestreams.Subscriber<T>
      • onNext

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

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

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