message: doc: Added identification messages
diff: @@ -794,7 +794,86 @@ msc {
  :END:
  ** Identification Messages
  *** RequestServerInfo
  +*Description:* Sent by the client to register itself with the server,
  +and request info from the server.
  +
  +*Fields:*
  +
  +- /Id/ (unsigned int): Message Id
  +- /ClientName/ (string): Name of the client, for the server to use for
  + UI if needed. Cannot be null.
  +
  +*Expected Response:*
  +
  +ServerInfo message on success, Error message on malformed message, null client name,
  +or other error.
  +
  +*Flow Diagram:*
  +
  +#+BEGIN_SRC mscgen :file log_diagram.svg :filetype svg
  +msc {
  + Client,Server;
  + Client -> Server [ label = "RequestServerInfo, Id=1" ];
  + Server -> Client [ label = "ServerInfo, Id=1" ];
  +}
  +#+END_SRC
  +
  +*Serialization Example:*
  +
  +#+BEGIN_SRC json
  + [
  + {
  + "RequestServerInfo": {
  + "Id": 1,
  + "ClientName": "Test Client"
  + }
  + }
  + ]
  +#+END_SRC
  *** ServerInfo
  +*Description:* Send by server to client, contains information about
  +the server name (optional), template version, and ping time
  +expectations.
  +
  +*Fields:*
  +
  +- /Id/ (unsigned int): Message Id
  +- /ServerName/ (string): Name of the server. Can be null (0-length).
  +- /MessageVersion/ (string): Semantic version for the message
  + template the server uses.
  +- /MaxPingTime/ (unsigned int): Maximum internal for pings from the
  + client, in milliseconds. If a client takes to longer than this time
  + between sending Ping messages, the server is expected to disconnect.
  +
  +*Expected Response:*
  +
  +None. Server-To-Client message only.
  +
  +*Flow Diagram:*
  +
  +#+BEGIN_SRC mscgen :file log_diagram.svg :filetype svg
  +msc {
  + Client,Server;
  + Client -> Server [ label = "RequestServerInfo, Id=1" ];
  + Server -> Client [ label = "ServerInfo, Id=1" ];
  +}
  +#+END_SRC
  +
  +*Serialization Example:*
  +
  +#+BEGIN_SRC json
  + [
  + {
  + "ServerInfo": {
  + "Id": 1,
  + "ServerName": "Test Server",
  + "MessageVersion": "0.0.1",
  + "MaxPingTime": 100
  + }
  + }
  + ]
  +#+END_SRC
  +
  * Enumeration Messages
  :PROPERTIES:
  :EXPORT_FILE_NAME: enumeration.md
  