summaryrefslogtreecommitdiffstats
path: root/common/commands.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-07-30 17:53:46 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-07-30 17:54:56 +0200
commit2b1542d7fee7e9ef14592e88c8a974ed4ea2eacf (patch)
treebbdf1a27c5d275f1b2214c62d303fd0b9a39b5c9 /common/commands.cpp
parent93b208cc95114e39f5d3379e66646c94e70b6a02 (diff)
downloadsink-2b1542d7fee7e9ef14592e88c8a974ed4ea2eacf.tar.gz
sink-2b1542d7fee7e9ef14592e88c8a974ed4ea2eacf.zip
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.
Diffstat (limited to 'common/commands.cpp')
-rw-r--r--common/commands.cpp2
1 files changed, 2 insertions, 0 deletions
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)
55 return "Shutdown"; 55 return "Shutdown";
56 case NotificationCommand: 56 case NotificationCommand:
57 return "Notification"; 57 return "Notification";
58 case PingCommand:
59 return "Ping";
58 case CustomCommand: 60 case CustomCommand:
59 return "Custom"; 61 return "Custom";
60 }; 62 };