projects
/
cs-p2p-next.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69dc36f
)
autorun: updated constants in Util.py
author
Adriana Draghici
<adriana008@gmail.com>
Thu, 15 Apr 2010 12:05:53 +0000
(12:05 +0000)
committer
Adriana Draghici
<adriana008@gmail.com>
Thu, 15 Apr 2010 12:05:53 +0000
(12:05 +0000)
autorun/Util.py
patch
|
blob
|
history
diff --git
a/autorun/Util.py
b/autorun/Util.py
index
d254d4b
..
186ebc8
100644
(file)
--- 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