Interface IAS2IncomingMDNCallback


public interface IAS2IncomingMDNCallback
Callback interface to be invoked for incoming MDNs to simplify logging.
Since:
4.7.1
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onIncomingMDN(boolean bSynchronousMDN, IMessageMDN aMDN, String sSenderAS2ID, String sReceiverAS2ID, String sDisposition, String sReturnMIC, String sOriginalAS2MessageID, boolean bMDNWasSigned, boolean bMICMatched)
    Invoked for every incoming MDN message.
  • Method Details

    • onIncomingMDN

      void onIncomingMDN(boolean bSynchronousMDN, @Nonnull IMessageMDN aMDN, @Nullable String sSenderAS2ID, @Nullable String sReceiverAS2ID, @Nullable String sDisposition, @Nullable String sReturnMIC, @Nullable String sOriginalAS2MessageID, boolean bMDNWasSigned, boolean bMICMatched)
      Invoked for every incoming MDN message.
      Parameters:
      bSynchronousMDN - true if it is a synchronous MDN, false if it is asynchronous.
      aMDN - The MDN object itself. May be used to extract further information when needed. Never null.
      sSenderAS2ID - The sender AS2 ID of the MDN. May be null.
      sReceiverAS2ID - The receiver AS2 ID of the MDN. May be null.
      sDisposition - The disposition string of the MDN. Can be used to determine success or error. May be null.
      sReturnMIC - The returned MIC. May be null.
      sOriginalAS2MessageID - The original AS2 message ID this MDN is referring to.
      bMDNWasSigned - true if the MDN was electronically signed, false if not.
      bMICMatched - true if the MDN MIC matched the original MIC, false if not.