![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <ClientManager.hpp>
Public Member Functions | |
| ClientManager () | |
| ~ClientManager () | |
| void | AddClient (ClientSession *client) |
| void | RemoveClient (ClientSession *client) |
| void | LaunchReception () |
| void | Refresh () |
| void | Dispose () |
| void | ServerTick (const yap::Time &dt) |
Private Member Functions | |
| DISALLOW_COPY (ClientManager) | |
| void | HandleReception () |
Private Attributes | |
| yap::collection::List < ClientSession * > | clients_ |
| yap::Mutex | clientsMutex_ |
| yap::Thread | receptionThread_ |
| bool | receptionIsActive_ |
Static Private Attributes | |
| static const yap::Time | DEFAULT_RECEPTION_SLEEP_DELAY |
Definition at line 14 of file ClientManager.hpp.
| yse::ClientManager::ClientManager | ( | ) |
| yse::ClientManager::~ClientManager | ( | ) |
Definition at line 19 of file ClientManager.cpp.
| void yse::ClientManager::AddClient | ( | ClientSession * | client | ) |
Definition at line 25 of file ClientManager.cpp.
|
private |
| void yse::ClientManager::Dispose | ( | ) |
|
private |
Definition at line 72 of file ClientManager.cpp.
| void yse::ClientManager::LaunchReception | ( | ) |
Definition at line 41 of file ClientManager.cpp.
| void yse::ClientManager::Refresh | ( | ) |
| void yse::ClientManager::RemoveClient | ( | ClientSession * | client | ) |
| void yse::ClientManager::ServerTick | ( | const yap::Time & | dt | ) |
|
private |
Definition at line 39 of file ClientManager.hpp.
|
private |
Definition at line 40 of file ClientManager.hpp.
|
staticprivate |
Definition at line 37 of file ClientManager.hpp.
|
private |
Definition at line 43 of file ClientManager.hpp.
|
private |
Definition at line 42 of file ClientManager.hpp.