Hi all.
I've changed the format for gomd answers (I need comments about this)
Old-format code is actually commented (not removed).
Moshe: I hope you like this format.
Example (with automated range inversion):
REQUEST: get load 1,3-2,4
OLD ANSWER FORMAT
Node load (1) : -101
Node load (2) : 1
Node load (3) : <ERROR>
Node load (4) : <ERROR>
...
NEW ANSWER FORMAT
(1:-101) (2:1) (3:<ERROR>) (4:<ERROR>) ...
This change has a lot of pros:
- new format is compact
- client will wait for just a single line (while with the old format, a
clients doesn't know how many lines it has to wait for)
- when the single line arrives, client gets all the value
- format is standard -> (TYPE_OR_ID:VALUE) so can be parsed more easily
Where:
* TYPE is the type of information or a node ID
* VALUE is the value related to the type of information or a
specific node
As usual, I need comments, tests,... :)
<rejected>