Commit 04374af6 authored by louiz’'s avatar louiz’

Update the description of the Server and RemoteClient classes.

parent 4089199e
......@@ -7,7 +7,7 @@
* object. Using the CommandHandler interface, it executes callbacks
* upon receiving command from the client, and sends commands when
* we need to communicate something to it.
* The derived class must install its own callback, install a transfer handler
* The derived classes must install their own callback, install a transfer handler
* in it or not, etc.
* @class InterfaceRemoteClient
*/
......
......@@ -3,10 +3,8 @@
*/
/**
* Represents one single remote client. It is kept in a list, by the Server
* object. Using the CommandHandler interface, it executes callbacks
* upon receiving command from the client, and sends commands when
* we need to communicate something to it.
* Represents one single remote client connected to the main server (the one
* doing authentication, history, chat, etc).
* @class RemoteClient
*/
......
......@@ -3,8 +3,13 @@
*/
/**
* The server handling clients authentication, serving menus, history, players’
* informations, etc
* The Server is the part doing the accept on a socket and spawning one
* "remote client" each time, and adding them to a list. Each client will
* then read and write on their own socket.
* The server is specified using the type of the remote client. Either this is
* a RemoteClient and we then do authentication, we handle a database, friends,
* chat, statistics, history etc. Or this is a GameRemoteClient and we just handle
* one single game.
* @class Server
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment