Interface AuditTransmissionProtocol

    • Method Detail

      • send

        default void send​(AuditContext auditContext,
                          String auditMessage)
                   throws Exception
        Transmits the message
        Parameters:
        auditContext - audit context that e.g. contains the destination
        auditMessage - audit message
        Throws:
        Exception - thrown if sending the messages has failed
      • send

        void send​(AuditContext auditContext,
                  AuditMetadataProvider auditMetadataProvider,
                  String auditMessage)
           throws Exception
        Transmits the message
        Parameters:
        auditContext - audit context that e.g. contains the destination
        auditMetadataProvider - dedicated (message-specific) audit metadata
        auditMessage - audit message strings
        Throws:
        Exception - thrown if sending the messages has failed
      • shutdown

        void shutdown()
        May be implemented to clean up instances on shut down
      • getTransportName

        String getTransportName()
        Returns:
        name of the AuditTransmissionProtocol