Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Initial Version and Version 1 of code/doc/network/Host


Ignore:
Timestamp:
Sep 17, 2008, 2:32:09 PM (16 years ago)
Author:
scheusso
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/network/Host

    v1 v1  
     1=Host=
     2==Overview==
     3The basic task of these classes is the interface between Orxonox and the network engine. This includes creating and opening a server, connecting to a server as client and provide common functions (for Server and Client) like sendChat.
     4
     5The Host class is the parent class of Server and Client. It ensures that only one instance of either Server or Client is running (so called Singleton) and provides static functions that both (Server and Client) have to implement.
     6
     7==Host class and common functions==
     8Below is a list of functions that you might want to use:
     9|| '''Function Name''' || '''Description''' ||
     10|| running() || Tells you whether an instance of Server or Client exists (no Information, wheter connected or not) ||
     11|| isServer() || Tells you whether the instance is a Server or not ||
     12|| sendChat(unsigned char *message) || Sends a message to the server or the clients ||
     13
     14==Server class==
     15
     16
     17==Client class==
     18
     19==Usage Examples==