Interface ImaTransactionListener


  • public interface ImaTransactionListener
    The transaction listener defines the callbacks associated with a transaction.
    The object implementing this interface is owned by the plug-in.
    • Method Detail

      • onCreate

        void onCreate​(ImaTransaction transaction,
                      int rc,
                      String reason)
        Called when the transaction is created. The transaction can be used now.
        Parameters:
        transaction -
        rc - A return code 0=normal
        reason - A human readable reason code
      • onCommit

        void onCommit​(ImaTransaction transaction,
                      int rc,
                      String reason)
        Called when the transaction is committed. The transaction can be reused after that.
        Parameters:
        rc - A return code 0=normal
        reason - A human readable reason code
      • onRollback

        void onRollback​(ImaTransaction transaction,
                        int rc,
                        String reason)
        Called when the transaction is rolled back. The transaction can be reused after that.
        Parameters:
        rc - A return code 0=normal
        reason - A human readable reason code