PROTOCOL
author viric <viriketo@gmail.com>
Sun, 20 Mar 2016 11:25:41 +0100
changeset 345 c8fd555369d1
parent 165 7b914d4003c2
permissions -rw-r--r--
Description: Fix GCC type warning Author: Alexander Inyukhin <shurick@sectorb.msk.ru> Forwarded: yes Last-Update: 2012-05-27

[ Totally outdated document ]

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.