From 7642433a4fafd2ccf7e8b43c81ec18282f544a3b Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 27 Mar 2015 16:45:48 +0100 Subject: 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). --- common/commands/notification.fbs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 common/commands/notification.fbs (limited to 'common/commands') 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 @@ +namespace Akonadi2; + +enum NotificationType : byte { Shutdown = 1, Status, Warning, Progress } + +table Notification { + type: NotificationType = Status; +} + +root_type Notification; -- cgit v1.2.3