Drag[en]gine Game Engine  1.0
deNetworkSystem Class Reference

Network System. More...

#include <deNetworkSystem.h>

Inheritance diagram for deNetworkSystem:
deBaseSystem

Public Member Functions

Constructors and Destructors
 deNetworkSystem (deEngine *engine)
 
 ~deNetworkSystem ()
 
Management
deBaseNetworkModuleGetActiveModule () const
 
Runtime Functions

Run-Time functions can only be called if the audio system is running. Otherwise those functions cause an exception.

void ProcessNetwork ()
 
void LoadServer (deServer *server)
 
void LoadConnection (deConnection *connection)
 
void LoadState (deNetworkState *state)
 
void LoadWorld (deWorld *world)
 
Overloadables
virtual void SetActiveModule (deLoadableModule *module)
 
virtual void ClearPermanents ()
 
virtual void PostStart ()
 
virtual void PreStop ()
 
- Public Member Functions inherited from deBaseSystem
 deBaseSystem (deEngine *engine, const char *systemName, int requiredModuleType)
 
virtual ~deBaseSystem ()
 
deEngineGetEngine () const
 
deLoadableModuleGetActiveLoadableModule () const
 
bool GetIsRunning () const
 
bool GetHasFailed () const
 
const char * GetSystemName () const
 
virtual bool CanStart ()
 
void SetHasFailed (bool hasFailed)
 
virtual void Start ()
 
virtual void Stop ()
 
void CheckAndActivateFirst (deModuleSystem::eModuleTypes type)
 
void LogInfo (const char *message)
 
void LogInfoFormat (const char *message,...)
 
void LogInfoFormatUsing (const char *message, va_list args)
 
void LogWarn (const char *message)
 
void LogWarnFormat (const char *message,...)
 
void LogWarnFormatUsing (const char *message, va_list args)
 
void LogError (const char *message)
 
void LogErrorFormat (const char *message,...)
 
void LogErrorFormatUsing (const char *message, va_list args)
 
void LogException (const deException &exception)
 

Detailed Description

Network System.

Provides network communication support..

Author
Pl├╝ss Roland
Version
1.0
Date
2008

Constructor & Destructor Documentation

◆ deNetworkSystem()

deNetworkSystem::deNetworkSystem ( deEngine engine)

Creates a new network system linked to the given engine.

◆ ~deNetworkSystem()

deNetworkSystem::~deNetworkSystem ( )

Cleans up the network system.

Member Function Documentation

◆ ClearPermanents()

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.

Referenced by GetActiveModule().

◆ GetActiveModule()

◆ LoadConnection()

void deNetworkSystem::LoadConnection ( deConnection connection)

Creates the peer object for the given connection using the active module and assigns it.

Referenced by GetActiveModule().

◆ LoadServer()

void deNetworkSystem::LoadServer ( deServer server)

Creates the peer object for the given server using the active module and assigns it.

Referenced by GetActiveModule().

◆ LoadState()

void deNetworkSystem::LoadState ( deNetworkState state)

Creates the peer object for the given state using the active module and assigns it.

Referenced by GetActiveModule().

◆ LoadWorld()

void deNetworkSystem::LoadWorld ( deWorld world)

Creates the peer object for the given world using the active module and assigns it.

Referenced by GetActiveModule().

◆ PostStart()

virtual void deNetworkSystem::PostStart ( )
virtual

Carry out here actions right after the system started up.

Reimplemented from deBaseSystem.

Referenced by GetActiveModule().

◆ PreStop()

virtual void deNetworkSystem::PreStop ( )
virtual

Carry out here actions right before the system shuts down.

Reimplemented from deBaseSystem.

Referenced by GetActiveModule().

◆ ProcessNetwork()

void deNetworkSystem::ProcessNetwork ( )

Process network.

Referenced by GetActiveModule().

◆ SetActiveModule()

virtual void deNetworkSystem::SetActiveModule ( deLoadableModule module)
virtual

Sets the active loadable module. Do not forget to call the super function.

Reimplemented from deBaseSystem.

Referenced by GetActiveModule().


The documentation for this class was generated from the following file: