From 2b1542d7fee7e9ef14592e88c8a974ed4ea2eacf Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 30 Jul 2015 17:53:46 +0200 Subject: Tested command loop with Ping command. Ping is a command that by definition doesn't affect the resource, and thus can be used at all times to check if the resource is still alive. --- common/commands.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/commands.cpp') diff --git a/common/commands.cpp b/common/commands.cpp index 99313b9..221c211 100644 --- a/common/commands.cpp +++ b/common/commands.cpp @@ -55,6 +55,8 @@ QByteArray name(int commandId) return "Shutdown"; case NotificationCommand: return "Notification"; + case PingCommand: + return "Ping"; case CustomCommand: return "Custom"; }; -- cgit v1.2.3