Updated Client Server protocol draft (markdown)

jeena 2011-01-31 08:52:07 -08:00
parent 35f72d213e
commit 731d0bfbd0

@ -6,6 +6,7 @@ This is a proposition for the client -> server communication protocol. The idea
<tr> <tr>
<th>Token</th> <th>Token</th>
<th>Command</th> <th>Command</th>
<th>Argument size</th>
<th>Arguments</th> <th>Arguments</th>
<th>Description</th> <th>Description</th>
</tr> </tr>
@ -14,18 +15,21 @@ This is a proposition for the client -> server communication protocol. The idea
<tr> <tr>
<td></td> <td></td>
<td>__hello</td> <td>__hello</td>
<td>0</td>
<td></td> <td></td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>&lt;#ref_num&gt;</td> <td>&lt;#ref_num&gt;</td>
<td>__echo</td> <td>__echo</td>
<td></td>
<td>optional message</td> <td>optional message</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>&lt;#ref_num&gt;</td> <td>&lt;#ref_num&gt;</td>
<td>__define</td> <td>__define</td>
<td></td>
<td>&quot;JavaScript&quot;</td> <td>&quot;JavaScript&quot;</td>
<td></td> <td></td>
</tr> </tr>
@ -34,6 +38,7 @@ This is a proposition for the client -> server communication protocol. The idea
<td>__start</td> <td>__start</td>
<td></td> <td></td>
<td></td> <td></td>
<td></td>
</tr> </tr>
<tr> <tr>
<td>&lt;#ref_num&gt;</td> <td>&lt;#ref_num&gt;</td>
@ -44,18 +49,21 @@ This is a proposition for the client -> server communication protocol. The idea
<tr> <tr>
<td>lt;#ref_num&gt;</td> <td>lt;#ref_num&gt;</td>
<td>__boot</td> <td>__boot</td>
<td></td>
<td>&lt;#ref_num&gt; &lt;#ref_num&gt;</td> <td>&lt;#ref_num&gt; &lt;#ref_num&gt;</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>&lt;#ref_num&gt;</td> <td>&lt;#ref_num&gt;</td>
<td>__error</td> <td>__error</td>
<td></td>
<td>optional message</td> <td>optional message</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>&lt;#ref_num&gt;</td> <td>&lt;#ref_num&gt;</td>
<td>COMMAND</td> <td>COMMAND</td>
<td></td>
<td>optional message</td> <td>optional message</td>
<td></td> <td></td>
</tr> </tr>
@ -70,6 +78,7 @@ This is a proposition for the client -> server communication protocol. The idea
<tr> <tr>
<th>Token</th> <th>Token</th>
<th>Command</th> <th>Command</th>
<td></td>
<th>Arguments</th> <th>Arguments</th>
<th>Description</th> <th>Description</th>
</tr> </tr>
@ -80,16 +89,19 @@ This is a proposition for the client -> server communication protocol. The idea
<td>__ok_hello</td> <td>__ok_hello</td>
<td></td> <td></td>
<td></td> <td></td>
<td></td>
</tr> </tr>
<tr> <tr>
<td>&lt;#ref_num&gt;</td> <td>&lt;#ref_num&gt;</td>
<td>__ok_echo</td> <td>__ok_echo</td>
<td></td>
<td>optional message</td> <td>optional message</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>&lt;#ref_num&gt;</td> <td>&lt;#ref_num&gt;</td>
<td>__ok_define</td> <td>__ok_define</td>
<td></td>
<td>&quot;JavaScript&quot;</td> <td>&quot;JavaScript&quot;</td>
<td></td> <td></td>
</tr> </tr>
@ -98,28 +110,33 @@ This is a proposition for the client -> server communication protocol. The idea
<td>__ok_start</td> <td>__ok_start</td>
<td></td> <td></td>
<td></td> <td></td>
<td></td>
</tr> </tr>
<tr> <tr>
<td>&lt;#ref_num&gt;</td> <td>&lt;#ref_num&gt;</td>
<td>__ok_stop</td> <td>__ok_stop</td>
<td></td>
<td>optional message</td> <td>optional message</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>lt;#ref_num&gt;</td> <td>lt;#ref_num&gt;</td>
<td>___ok_boot</td> <td>___ok_boot</td>
<td></td>
<td>&lt;#ref_num&gt; &lt;#ref_num&gt;</td> <td>&lt;#ref_num&gt; &lt;#ref_num&gt;</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>&lt;#ref_num&gt;</td> <td>&lt;#ref_num&gt;</td>
<td>__error</td> <td>__error</td>
<td></td>
<td>optional message</td> <td>optional message</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>&lt;#ref_num&gt;</td> <td>&lt;#ref_num&gt;</td>
<td>COMMAND</td> <td>COMMAND</td>
<td></td>
<td>optional message</td> <td>optional message</td>
<td></td> <td></td>
</tr> </tr>