Class AdjustedRangeSubscriber
- java.lang.Object
-
- software.amazon.encryption.s3.legacy.internal.AdjustedRangeSubscriber
-
- All Implemented Interfaces:
org.reactivestreams.Subscriber<ByteBuffer>
public class AdjustedRangeSubscriber extends Object implements org.reactivestreams.Subscriber<ByteBuffer>
-
-
Constructor Summary
Constructors Constructor Description AdjustedRangeSubscriber(org.reactivestreams.Subscriber<? super ByteBuffer> wrappedSubscriber, Long rangeBeginning, Long rangeEnd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonComplete()voidonError(Throwable t)voidonNext(ByteBuffer byteBuffer)voidonSubscribe(org.reactivestreams.Subscription s)
-
-
-
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:
onSubscribein interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
onNext
public void onNext(ByteBuffer byteBuffer)
- Specified by:
onNextin interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
onError
public void onError(Throwable t)
- Specified by:
onErrorin interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
onComplete
public void onComplete()
- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
-