Class DigestComputingSubscriber

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

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

      • DigestComputingSubscriber

        public DigestComputingSubscriber​(MessageDigest messageDigest,
                                         SdkChecksum sdkChecksum)
    • Method Detail

      • onSubscribe

        public void onSubscribe​(org.reactivestreams.Subscription subscription)
        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 throwable)
        Specified by:
        onError in interface org.reactivestreams.Subscriber<ByteBuffer>
      • onComplete

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