ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/kgsueme/doc/protocol.xml
(Generate patch)

Comparing kgsueme/doc/protocol.xml (file contents):
Revision 1.28 by pcg, Sun Jul 20 15:01:24 2003 UTC vs.
Revision 1.29 by pcg, Mon Jul 21 01:36:48 2003 UTC

20 Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21--> 21-->
22</head> 22</head>
23<body> 23<body>
24 24
25<h1>$Revision: 1.28 $</h1> 25<h1>$Revision: 1.29 $</h1>
26 26
27<h1>KGS Protocol Description</h1> 27<h1>KGS Protocol Description</h1>
28 28
29 <p>This XML document describes the KGS protocol. It is also used 29 <p>This XML document describes the KGS protocol. It is also used
30 to automatically generate the perl parser for all the messages and 30 to automatically generate the perl parser for all the messages and
285 285
286 <message type="0014" name="req_stats" dir="send"> 286 <message type="0014" name="req_stats" dir="send">
287 <p>Request server statistics. Replied with <ref reply="stats"/></p> 287 <p>Request server statistics. Replied with <ref reply="stats"/></p>
288 </message> 288 </message>
289 289
290 <message type="0016" name="idle_reset" dir="send">
291 <p>Send in response to <ref reply="idle_warn"/> to keep the server from disconnecting.</p>
292 </message>
293
290 <message type="001d" name="ping" dir="send"> 294 <message type="001d" name="ping" dir="send">
291 <p>Wild guess, I send it in <ref ref="idle_warn"/>.</p> 295 <p>Wild guess, I send it in <ref ref="idle_warn"/>.</p>
292 </message> 296 </message>
293 297
294 <message type="001e" name="req_usergraph" dir="send"> 298 <message type="001e" name="req_usergraph" dir="send">
309 <message type="0021" name="upload_pic" dir="send"> 313 <message type="0021" name="upload_pic" dir="send">
310 Same code as pic_req, but with an additional data section that 314 Same code as pic_req, but with an additional data section that
311 must contain a JPEG image that is &lt;=7KB. It must have 141×200 pixels. 315 must contain a JPEG image that is &lt;=7KB. It must have 141×200 pixels.
312 <member name="name" type="username"/> 316 <member name="name" type="username"/>
313 <member name="data" type="DATA"/> 317 <member name="data" type="DATA"/>
318 </message>
319
320 <message type="0023" name="send_memo" dir="send">
321 <member name="name" type="username"/>
322 <member name="msg" type="STRING"/>
314 </message> 323 </message>
315 324
316 <message type="0100" name="gnotice" dir="send"> 325 <message type="0100" name="gnotice" dir="send">
317 <p>Send a global message. Maybe. Never tried, for obvious reasons :/. Results 326 <p>Send a global message. Maybe. Never tried, for obvious reasons :/. Results
318 in a <ref reply="gnotice"/> sent to all users.</p> 327 in a <ref reply="gnotice"/> sent to all users.</p>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines