Interface AS4DumpReader.IDecryptedPayloadConsumer

Enclosing class:
AS4DumpReader
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface AS4DumpReader.IDecryptedPayloadConsumer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(int nAttachmentIndex, byte[] aPayload)
    Get invoked for every decrypted attachment.
  • Method Details

    • accept

      void accept(@Nonnegative int nAttachmentIndex, @Nonnull byte[] aPayload)
      Get invoked for every decrypted attachment.
      Parameters:
      nAttachmentIndex - 0-based attachment index.
      aPayload - Decrypted payload. Never null.