From e47f854bff2619828d39911ee00ce6cd1cd7f231 Mon Sep 17 00:00:00 2001 From: Adriana Draghici Date: Fri, 29 Jan 2010 16:39:45 +0200 Subject: [PATCH] bt_comm: updated Util.py --- bt_comm/Util.py | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/bt_comm/Util.py b/bt_comm/Util.py index fa53b4e..ffd20a9 100644 --- a/bt_comm/Util.py +++ b/bt_comm/Util.py @@ -3,27 +3,16 @@ """ Message types: client -> server """ -CONFIG_MSG = "0"; START_MSG = "1"; STOP_MSG = "2"; STATUS_MSG = "3"; - -# xml tags from clients.xml -CLIENT = "client" -FILE = "file" -RUN_TYPE = "run type" -INTERPRETER = "interpreter" -PREFIX = "prefix" -SUFFIX = "suffix" -UP_LIMIT_OPTION = "upload_limit_option" -DL_LIMIT_OPTION = "download_limit_option" -PORT_OPTION = "port_option" -LOG_DIR_OPTION = "logging_dir_option" -DL_DIR_OPTION = "download_dir_option" - +ACK_MSG = "ACK" # send by server to the client after receiving a message if everything was ok +ERROR_MSG = "ERROR " # send by server to the client if the parameters were incorrect + # or the client could not be started etc #xml tags from swarm.xml +CLIENT = "client" BASE_DIR = "base" UP_LIMIT = "upload_limit" DL_LIMIT = "download_limit" @@ -31,3 +20,7 @@ DL_DIR = "download_dir" LOG_DIR = "logging_dir" PORT = "port" + +#clients +TRIBLER = tribler +TRANSMISSION = transmission -- 2.20.1