From 731d0bfbd00304ef087abcd0eb857cd584c558b6 Mon Sep 17 00:00:00 2001 From: jeena Date: Mon, 31 Jan 2011 08:52:07 -0800 Subject: [PATCH] Updated Client Server protocol draft (markdown) --- Client---Server-protocol-draft.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Client---Server-protocol-draft.md b/Client---Server-protocol-draft.md index b90a7d7..773815b 100644 --- a/Client---Server-protocol-draft.md +++ b/Client---Server-protocol-draft.md @@ -6,6 +6,7 @@ This is a proposition for the client -> server communication protocol. The idea Token Command + Argument size Arguments Description @@ -14,18 +15,21 @@ This is a proposition for the client -> server communication protocol. The idea __hello + 0 <#ref_num> __echo + optional message <#ref_num> __define + "JavaScript" @@ -34,6 +38,7 @@ This is a proposition for the client -> server communication protocol. The idea __start + <#ref_num> @@ -44,18 +49,21 @@ This is a proposition for the client -> server communication protocol. The idea lt;#ref_num> __boot + <#ref_num> <#ref_num> <#ref_num> __error + optional message <#ref_num> COMMAND + optional message @@ -70,6 +78,7 @@ This is a proposition for the client -> server communication protocol. The idea Token Command + Arguments Description @@ -78,48 +87,56 @@ This is a proposition for the client -> server communication protocol. The idea <#ref_num> __ok_hello + <#ref_num> __ok_echo + optional message <#ref_num> __ok_define + "JavaScript" <#ref_num> __ok_start + <#ref_num> __ok_stop + optional message lt;#ref_num> ___ok_boot + <#ref_num> <#ref_num> <#ref_num> __error + optional message <#ref_num> COMMAND + optional message