Network System. More...
#include <deNetworkSystem.h>
Public Member Functions | |
Constructors and Destructors | |
| deNetworkSystem (deEngine *engine) | |
| Creates a new network system linked to the given engine. | |
| ~deNetworkSystem () | |
| Cleans up the network system. | |
Management | |
| deBaseNetworkModule * | GetActiveModule () const |
Runtime Functions | |
Run-Time functions can only be called if the audio system is running. Otherwise those functions cause an exception. | |
| void | ProcessNetwork () |
| Process network. | |
| void | LoadServer (deServer *server) |
| Creates the peer object for the given server using the active module and assigns it. | |
| void | LoadConnection (deConnection *connection) |
| Creates the peer object for the given connection using the active module and assigns it. | |
| void | LoadState (deNetworkState *state) |
| Creates the peer object for the given state using the active module and assigns it. | |
| void | LoadWorld (deWorld *world) |
| Creates the peer object for the given world using the active module and assigns it. | |
Overloadables | |
| virtual void | SetActiveModule (deLoadableModule *module) |
| Sets the active loadable module. | |
| virtual void | ClearPermanents () |
| Clears cross references and links that could lead to memory leaks. | |
| virtual void | PostStart () |
| Carry out here actions right after the system started up. | |
| virtual void | PreStop () |
| Carry out here actions right before the system shuts down. | |
Network System.
Provides network communication support..
| deNetworkSystem::deNetworkSystem | ( | deEngine * | engine ) |
Creates a new network system linked to the given engine.
| deNetworkSystem::~deNetworkSystem | ( | ) |
Cleans up the network system.
| virtual void deNetworkSystem::ClearPermanents | ( | ) | [virtual] |
Clears cross references and links that could lead to memory leaks.
Do not forget to call the super function.
Reimplemented from deBaseSystem.
| deBaseNetworkModule* deNetworkSystem::GetActiveModule | ( | ) | const [inline] |
| void deNetworkSystem::LoadConnection | ( | deConnection * | connection ) |
Creates the peer object for the given connection using the active module and assigns it.
| void deNetworkSystem::LoadServer | ( | deServer * | server ) |
Creates the peer object for the given server using the active module and assigns it.
| void deNetworkSystem::LoadState | ( | deNetworkState * | state ) |
Creates the peer object for the given state using the active module and assigns it.
| void deNetworkSystem::LoadWorld | ( | deWorld * | world ) |
Creates the peer object for the given world using the active module and assigns it.
| virtual void deNetworkSystem::PostStart | ( | ) | [virtual] |
Carry out here actions right after the system started up.
Reimplemented from deBaseSystem.
| virtual void deNetworkSystem::PreStop | ( | ) | [virtual] |
Carry out here actions right before the system shuts down.
Reimplemented from deBaseSystem.
| void deNetworkSystem::ProcessNetwork | ( | ) |
Process network.
| virtual void deNetworkSystem::SetActiveModule | ( | deLoadableModule * | module ) | [virtual] |
Sets the active loadable module.
Do not forget to call the super function.
Reimplemented from deBaseSystem.
1.7.2