Forums
This is the online documentation for Colossus Entertainments Pixie Game Engine

Platform_Win32_Network Class Reference

Inheritance diagram for Platform_Win32_Network:

Platform_Network System

List of all members.


Detailed Description

Author:
Mattias Gustavsson

Definition at line 22 of file Platform_Win32_Network.h.


Public Member Functions

 SYSTEM_IMPLEMENTATION (Platform_Win32_Network)
virtual void Initialize ()
virtual void Start ()
virtual void Stop ()
virtual void Terminate ()
virtual void Update (float deltaTime)
virtual Platform_Network_ServerCreateServer (ConnectionMode mode, int port)
virtual Platform_Network_ClientCreateClient (ConnectionMode mode, const char *address, int port)
bool IsNetworkingEnabled ()
void DisableNetworking ()
bool UsingWinsock2 ()
void ClientDestroyed (Platform_Win32_Network_Client *client)
void ServerDestroyed (Platform_Win32_Network_Server *server)
const char * GetErrorMessage (unsigned int errorCode)

Member Function Documentation

Platform_Win32_Network::SYSTEM_IMPLEMENTATION ( Platform_Win32_Network   ) 

void Platform_Win32_Network::Initialize (  )  [virtual]

Reimplemented from System.

Definition at line 15 of file Platform_Win32_Network.cpp.

void Platform_Win32_Network::Start (  )  [virtual]

Reimplemented from System.

Definition at line 24 of file Platform_Win32_Network.cpp.

void Platform_Win32_Network::Stop (  )  [virtual]

Reimplemented from System.

Definition at line 80 of file Platform_Win32_Network.cpp.

void Platform_Win32_Network::Terminate (  )  [virtual]

Reimplemented from System.

Definition at line 107 of file Platform_Win32_Network.cpp.

void Platform_Win32_Network::Update ( float  deltaTime  )  [virtual]

Implements Platform_Network.

Definition at line 114 of file Platform_Win32_Network.cpp.

Platform_Network_Server * Platform_Win32_Network::CreateServer ( ConnectionMode  mode,
int  port 
) [virtual]

Implements Platform_Network.

Definition at line 172 of file Platform_Win32_Network.cpp.

Platform_Network_Client * Platform_Win32_Network::CreateClient ( ConnectionMode  mode,
const char *  address,
int  port 
) [virtual]

Implements Platform_Network.

Definition at line 193 of file Platform_Win32_Network.cpp.

bool Platform_Win32_Network::IsNetworkingEnabled (  ) 

Definition at line 130 of file Platform_Win32_Network.cpp.

void Platform_Win32_Network::DisableNetworking (  ) 

Definition at line 146 of file Platform_Win32_Network.cpp.

bool Platform_Win32_Network::UsingWinsock2 (  ) 

Definition at line 138 of file Platform_Win32_Network.cpp.

void Platform_Win32_Network::ClientDestroyed ( Platform_Win32_Network_Client client  ) 

Definition at line 156 of file Platform_Win32_Network.cpp.

void Platform_Win32_Network::ServerDestroyed ( Platform_Win32_Network_Server server  ) 

Definition at line 164 of file Platform_Win32_Network.cpp.

const char * Platform_Win32_Network::GetErrorMessage ( unsigned int  errorCode  ) 

Definition at line 214 of file Platform_Win32_Network.cpp.