Skip to content
Back to top
View this page

# CommitStoreNotifying

class dsviper.CommitStoreNotifying

  Bases: `object`

  An interface used to represent the notification emitted by a store.

  Note: Not directly instantiable.

  static create(object) → CommitStoreNotifying

    Return a new CommitStoreStoringBaseNotifying if the Python object responds to the interface or raise.

  notify_database_did_close() → None

    Send a notification to inform that the database was closed.

  notify_database_did_open() → None

    Send a notification to inform that the database was opened.

  notify_database_did_reset() → None

    Send a notification to inform that the database did reset.

  notify_database_will_reset() → None

    Send a notification to inform that the database will be reset.

  notify_definitions_did_change() → None

    Send a notification to inform that the definitions have changed.

  notify_dispatch_error(error: Error) → None

    Send a notification to inform that an error occurred during a dispatch.

  notify_reset_database() → None

    Send a notification to reset the database.

  notify_state_did_change() → None

    Send a notification to inform that the current state has changed.

  notify_stop_live() → None

    Send a notification to stop the live mode.