PROTOCOL
author viric@llimona
Mon, 02 Apr 2007 17:53:52 +0200
changeset 74 bb1b20d79acf
parent 21 a797f96a022f
child 165 7b914d4003c2
permissions -rw-r--r--
Marking the TODO for 0.3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18
af4898956964 Now commands of any-length are accepted.
viric@llimona
parents:
diff changeset
     1
New job
af4898956964 Now commands of any-length are accepted.
viric@llimona
parents:
diff changeset
     2
-------------------------
af4898956964 Now commands of any-length are accepted.
viric@llimona
parents:
diff changeset
     3
Client: Msg [ new job (commandsize,filenamesize)]
af4898956964 Now commands of any-length are accepted.
viric@llimona
parents:
diff changeset
     4
Client: Command (+null)
19
5efc347cca8d The finished jobs store the errorlevel, and can be listed.
viric@llimona
parents: 18
diff changeset
     5
Server: Msg [ NewJob OK ]
5efc347cca8d The finished jobs store the errorlevel, and can be listed.
viric@llimona
parents: 18
diff changeset
     6
--- pause until the server allows running ---
5efc347cca8d The finished jobs store the errorlevel, and can be listed.
viric@llimona
parents: 18
diff changeset
     7
Server: Msg [ RunJOB ]
5efc347cca8d The finished jobs store the errorlevel, and can be listed.
viric@llimona
parents: 18
diff changeset
     8
Client: Msg [ RunJOB OK ]
18
af4898956964 Now commands of any-length are accepted.
viric@llimona
parents:
diff changeset
     9
Client: (if needed) Filename (+null)
19
5efc347cca8d The finished jobs store the errorlevel, and can be listed.
viric@llimona
parents: 18
diff changeset
    10
--- pause until the client process finishes ---
5efc347cca8d The finished jobs store the errorlevel, and can be listed.
viric@llimona
parents: 18
diff changeset
    11
Client: Msg [ EndJOB ]
5efc347cca8d The finished jobs store the errorlevel, and can be listed.
viric@llimona
parents: 18
diff changeset
    12
Client: close.
21
a797f96a022f Lines for list doesn't have limit.
viric@llimona
parents: 19
diff changeset
    13
a797f96a022f Lines for list doesn't have limit.
viric@llimona
parents: 19
diff changeset
    14
List
a797f96a022f Lines for list doesn't have limit.
viric@llimona
parents: 19
diff changeset
    15
-------------------------
a797f96a022f Lines for list doesn't have limit.
viric@llimona
parents: 19
diff changeset
    16
Client: Msg [ LIST ]
a797f96a022f Lines for list doesn't have limit.
viric@llimona
parents: 19
diff changeset
    17
Server: Msg [ List_line ]
a797f96a022f Lines for list doesn't have limit.
viric@llimona
parents: 19
diff changeset
    18
Server: line (+null)
a797f96a022f Lines for list doesn't have limit.
viric@llimona
parents: 19
diff changeset
    19
Server: Msg [ List_line ]
a797f96a022f Lines for list doesn't have limit.
viric@llimona
parents: 19
diff changeset
    20
Server: line (+null)
a797f96a022f Lines for list doesn't have limit.
viric@llimona
parents: 19
diff changeset
    21
...
a797f96a022f Lines for list doesn't have limit.
viric@llimona
parents: 19
diff changeset
    22
Server: close.