Line | |
---|
1 | A message consists of: |
---|
2 | |
---|
3 | header |
---|
4 | data |
---|
5 | end-of-data-marker a character with value zero |
---|
6 | |
---|
7 | header: |
---|
8 | stopos literally: "stopos" |
---|
9 | TAB field separator: '/' |
---|
10 | protocolnumber human readable string, eg "0001" |
---|
11 | TAB |
---|
12 | whoami human readable string |
---|
13 | TAB |
---|
14 | command human readable string, eg "next" |
---|
15 | TAB |
---|
16 | poolname poolname, eg "mypool" |
---|
17 | TAB |
---|
18 | user human readable string, eg "willem" |
---|
19 | TAB |
---|
20 | |
---|
21 | length of header may not exceed 256 bytes |
---|
22 | |
---|
23 | data: |
---|
24 | string not containing 0-bytes, example "-l 1 2 3" Max length = 4096 |
---|
25 | |
---|
26 | example: |
---|
27 | stopos\t0001\tnext\tmypool\twillem\t-l 1 2 3\0 |
---|
28 | |
---|
29 | None of above may containg 0-bytes, except for the end-of-data marker |
---|
30 | |
---|
31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.