From: Adriana Draghici Date: Thu, 15 Apr 2010 12:05:53 +0000 (+0000) Subject: autorun: updated constants in Util.py X-Git-Tag: getopt_long~79 X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=615ba10bd9d441887bd1d31513ab088827e873e0;p=cs-p2p-next.git autorun: updated constants in Util.py --- diff --git a/autorun/Util.py b/autorun/Util.py index d254d4b..186ebc8 100644 --- a/autorun/Util.py +++ b/autorun/Util.py @@ -8,9 +8,13 @@ SERVER_HOST = "127.0.0.1" """ Message types: client -> server """ -START_MSG = "1"; -STOP_MSG = "2"; -STATUS_MSG = "3"; +START_MSG = 1 +STOP_MSG = 2 +STATUS_MSG = 3 +GET_CLIENTS = 4 +GET_OUTPUT = 5 +ARCHIVE = 6 +CLEANUP = 7 ACK_MSG = "1" # send by server to the client after receiving a message if everything was ok ERROR_MSG = "0" # send by server to the client if the parameters were incorrect