exp: {CLIENT:"tribler", BASE_DIR: "/home/p2p/p2p-clients/tribler/",
UP_LIMIT: "512", DL_LIMIT:"256", PORT:"9999",
DL_DIR:"/this/dir", LOG_DIR:"/this/dir",
- OUT_FILE: "output_file", LOF_FILE:"log_file"}
+ OUT_FILE: "output_file", LOG_FILE:"log_file",
+ TORRENT: "torrent file"}
- dupa fiecare msg 1,2 Serverul trimite un mesaj care indica daca a aparut sau nu vreo eroare
3. Mesaje STOP
DL_LIMIT = "download_limit"
DL_DIR = "download_dir"
LOG_DIR = "logging_dir"
+OUT_FILE = "output_file"
+LOG_FILE = "log_file"
PORT = "port"
-
+TORRENT = "torrent_file"
#clients
TRIBLER = tribler
+++ /dev/null
-
-#!/usr/bin/env python
-
-""" 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"