]> p2p-next.cs.pub.ro Git - cs-p2p-next.git/commitdiff
autorun: updated constants in Util.py
authorAdriana Draghici <adriana008@gmail.com>
Thu, 15 Apr 2010 12:05:53 +0000 (12:05 +0000)
committerAdriana Draghici <adriana008@gmail.com>
Thu, 15 Apr 2010 12:05:53 +0000 (12:05 +0000)
autorun/Util.py

index d254d4b2d391d99cbada03be6eb6d729c49d2dd8..186ebc89bdb187e912d6da30d3b9d31f70f361b4 100644 (file)
@@ -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