|
Planeshift
|
This class holds references to different network classes and provides some conveniance functions to access them. More...
#include <psnetmanager.h>
Public Member Functions | |
| void | Authenticate (const csString &name, const csString &pwd, const csString &pwd256) |
| Sends an authentication message to the server. More... | |
| bool | Connect (const char *server, int port) |
| Connect to given server and port. More... | |
| void | Disconnect () |
| Disconnect from server. More... | |
| const char * | GetAuthMessage () |
| CmdHandler * | GetCmdHandler () |
| psNetConnection * | GetConnection () |
| const char * | GetLastError () |
| ClientMsgHandler * | GetMsgHandler () |
| bool | Initialize (iObjectRegistry *object_reg) |
| bool | IsConnected () |
| psNetManager () | |
| virtual | ~psNetManager () |
Protected Attributes | |
| csRef< psAdminCommands > | admincmds |
| csRef< psAuthenticationClient > | authclient |
| csRef< CmdHandler > | cmdhandler |
| bool | connected |
| psNetConnection * | connection |
| csString | errormsg |
| csRef< psGroupCommands > | groupcmds |
| csRef< psGuildCommands > | guildcmds |
| csRef< ClientMsgHandler > | msghandler |
| iObjectRegistry * | object_reg |
| csRef< psUserCommands > | usercmds |
| csRef< psUtilityCommands > | utilcmds |
This class holds references to different network classes and provides some conveniance functions to access them.
Definition at line 40 of file psnetmanager.h.
| psNetManager::psNetManager | ( | ) |
|
virtual |
| void psNetManager::Authenticate | ( | const csString & | name, |
| const csString & | pwd, | ||
| const csString & | pwd256 | ||
| ) |
Sends an authentication message to the server.
| bool psNetManager::Connect | ( | const char * | server, |
| int | port | ||
| ) |
Connect to given server and port.
| void psNetManager::Disconnect | ( | ) |
Disconnect from server.
| const char* psNetManager::GetAuthMessage | ( | ) |
|
inline |
Definition at line 60 of file psnetmanager.h.
|
inline |
Definition at line 65 of file psnetmanager.h.
|
inline |
Definition at line 62 of file psnetmanager.h.
| ClientMsgHandler* psNetManager::GetMsgHandler | ( | ) |
| bool psNetManager::Initialize | ( | iObjectRegistry * | object_reg | ) |
|
inline |
Definition at line 67 of file psnetmanager.h.
|
protected |
Definition at line 81 of file psnetmanager.h.
|
protected |
Definition at line 73 of file psnetmanager.h.
|
protected |
Definition at line 76 of file psnetmanager.h.
|
protected |
Definition at line 82 of file psnetmanager.h.
|
protected |
Definition at line 71 of file psnetmanager.h.
|
protected |
Definition at line 83 of file psnetmanager.h.
|
protected |
Definition at line 79 of file psnetmanager.h.
|
protected |
Definition at line 78 of file psnetmanager.h.
|
protected |
Definition at line 72 of file psnetmanager.h.
|
protected |
Definition at line 70 of file psnetmanager.h.
|
protected |
Definition at line 77 of file psnetmanager.h.
|
protected |
Definition at line 80 of file psnetmanager.h.