diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-03-27 16:45:48 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-03-31 11:11:08 +0200 |
commit | 7642433a4fafd2ccf7e8b43c81ec18282f544a3b (patch) | |
tree | 067d1faa86061eabe24444e59118e9c1567848ba /common/commands | |
parent | c9aeb8896ae578515c217b9a08988156b4d62f1e (diff) | |
download | sink-7642433a4fafd2ccf7e8b43c81ec18282f544a3b.tar.gz sink-7642433a4fafd2ccf7e8b43c81ec18282f544a3b.zip |
Shutdown notification to achieve a clean shutdown.
Otherwise the client always restarts the resource because of the lost connection.
We currently require this in tests to be able to delete the db, but eventually
we likely want a "disable akonadi" function that shuts resources down,
and keeps clients from restarting them (e.g. via configuration).
Diffstat (limited to 'common/commands')
-rw-r--r-- | common/commands/notification.fbs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/commands/notification.fbs b/common/commands/notification.fbs new file mode 100644 index 0000000..6684472 --- /dev/null +++ b/common/commands/notification.fbs | |||
@@ -0,0 +1,9 @@ | |||
1 | namespace Akonadi2; | ||
2 | |||
3 | enum NotificationType : byte { Shutdown = 1, Status, Warning, Progress } | ||
4 | |||
5 | table Notification { | ||
6 | type: NotificationType = Status; | ||
7 | } | ||
8 | |||
9 | root_type Notification; | ||