PROTOCOL
author viric <viriketo@gmail.com>
Sun, 20 Mar 2016 11:25:53 +0100
changeset 346 90545736507e
parent 165 7b914d4003c2
permissions -rw-r--r--
Description: Fix typo Author: Alexander Inyukhin <shurick@sectorb.msk.ru> Last-Update: 2016-03-20

[ 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.