PROTOCOL
author viric@llimona
Tue, 27 Mar 2007 23:29:56 +0200
changeset 58 3c492266923e
parent 21 a797f96a022f
child 165 7b914d4003c2
permissions -rw-r--r--
Preparing v0.2.3

New job
-------------------------
Client: Msg [ new job (commandsize,filenamesize)]
Client: Command (+null)
Server: Msg [ NewJob OK ]
--- pause until the server allows running ---
Server: Msg [ RunJOB ]
Client: Msg [ RunJOB OK ]
Client: (if needed) Filename (+null)
--- pause until the client process finishes ---
Client: Msg [ EndJOB ]
Client: close.

List
-------------------------
Client: Msg [ LIST ]
Server: Msg [ List_line ]
Server: line (+null)
Server: Msg [ List_line ]
Server: line (+null)
...
Server: close.