add after_shutdown hook

This commit is contained in:
holger krekel
2020-02-23 00:08:34 +01:00
parent f55d4fa73a
commit 6baef49f9d
4 changed files with 19 additions and 0 deletions

View File

@@ -31,6 +31,10 @@ class PerAccount:
def log_line(self, message):
""" log a message related to the account. """
@account_hookspec
def after_shutdown(self):
""" Called when the account has been shutdown. """
@account_hookspec
def configure_completed(self, success):
""" Called when a configure process completed. """