From: Adriana Draghici Date: Fri, 16 Apr 2010 09:33:22 +0000 (+0000) Subject: autorun: modified GET_OUTPUT message X-Git-Tag: getopt_long~73 X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=3693392846458a5e209dfcf60996cbbd56e75ecc;p=cs-p2p-next.git autorun: modified GET_OUTPUT message --- diff --git a/autorun/PROTOCOL b/autorun/PROTOCOL index 5b2a990..d677070 100644 --- a/autorun/PROTOCOL +++ b/autorun/PROTOCOL @@ -34,7 +34,7 @@ Serverul pastreaza un fisier cu info despre toate fisierele downloadate: 2. Mesaje GET_OUTPUT -----> tipul mesajului GET_OUTPUT - <----- lista tupluri: (client_name, metafile, file_type, file_path) + <----- lista : [client_name, metafile, [(file_type, file_path), ...]] 3. Mesaje ARCHIVE -----> tipul mesajului ARCHIVE diff --git a/autorun/README b/autorun/README index ef5228c..4d33ebc 100644 --- a/autorun/README +++ b/autorun/README @@ -52,9 +52,9 @@ PROTOCOL - communication description between Server and Commander - test locally without remotely starting Server: - in server/ : - 1. python Server.py - output in /home/p2p/out and /home/p2p/err + 1. python Server.py start - output in /home/p2p/out and /home/p2p/err or - python Server_NO_DAEMON for console output + python Server.py no - for console output 2. python Client.py torrent_path - has test scenerios for tribler, transmission and hrktorrent. - modify test_all_commands method in order to choose the BT client.