#include <netmanager.h>
Inheritance diagram for NetSimpleManager:


Public Member Functions | |
| DECLSPEC | NetSimpleManager (const char *name, BasicObject *p) |
| DECLSPEC | NetSimpleManager (TiXmlElement *el, BasicObject *p) |
| virtual const char * | getClassName () |
Static Public Member Functions | |
| static NetSimpleManager * | getThe () |
Protected Member Functions | |
| virtual DECLSPEC NetSocket * | createSocket (TCPsocket socket) |
This is a very simple network manager, containing the most important things. The NetSocket-class, that is compatible to this managing class is NetStandardSocket.
Do not initialize this class, if another class, derived from NetBasicManager has already been inited!
| virtual const char* NetSimpleManager::getClassName | ( | ) | [inline, virtual] |
This function should be overriden in every sub-class of BasicObject!
Reimplemented from BasicObject.
| static NetSimpleManager* NetSimpleManager::getThe | ( | ) | [inline, static] |
Reimplemented from NetBasicManager.
| NetSocket * NetSimpleManager::createSocket | ( | TCPsocket | socket | ) | [protected, virtual] |
Creates a class, derived from NetSocket, that is compatible to the managing class.
| socket | the SDL-TCP socket which is used by the new NetSocket |
Implements NetBasicManager.
1.5.1