Class AdjustedRangeSubscriber

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

    public class AdjustedRangeSubscriber
    extends Object
    implements org.reactivestreams.Subscriber<ByteBuffer>
    • Constructor Detail

      • AdjustedRangeSubscriber

        public AdjustedRangeSubscriber​(org.reactivestreams.Subscriber<? super ByteBuffer> wrappedSubscriber,
                                       Long rangeBeginning,
                                       Long rangeEnd)
                                throws IOException
        Throws:
        IOException
    • Method Detail

      • onSubscribe

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

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

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

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