![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
#include <SphynxServer.hpp>
Inheritance diagram for cat::sphynx::ServerWorker:Public Member Functions | |
| void | DecrementPopulation () |
| u32 | GetPopulation () |
| void | IncrementPopulation () |
| ServerWorker (Map *conn_map, ServerTimer *server_timer) | |
| virtual | ~ServerWorker () |
Protected Member Functions | |
| void | OnClose () |
| void | OnRead (ThreadPoolLocalStorage *tls, const NetAddr &src, u8 *data, u32 bytes) |
| void | OnWrite (u32 bytes) |
Protected Attributes | |
| Map * | _conn_map |
| ServerTimer * | _server_timer |
| volatile u32 | _session_count |
Friends | |
| class | Map |
Definition at line 178 of file SphynxServer.hpp.
| cat::sphynx::ServerWorker::ServerWorker | ( | Map * | conn_map, |
| ServerTimer * | server_timer | ||
| ) |
| virtual cat::sphynx::ServerWorker::~ServerWorker | ( | ) | [virtual] |
| void cat::sphynx::ServerWorker::DecrementPopulation | ( | ) |
| u32 cat::sphynx::ServerWorker::GetPopulation | ( | ) | [inline] |
Definition at line 195 of file SphynxServer.hpp.
{ return _session_count; }
| void cat::sphynx::ServerWorker::IncrementPopulation | ( | ) |
| void cat::sphynx::ServerWorker::OnClose | ( | ) | [protected, virtual] |
Implements cat::UDPEndpoint.
| void cat::sphynx::ServerWorker::OnRead | ( | ThreadPoolLocalStorage * | tls, |
| const NetAddr & | src, | ||
| u8 * | data, | ||
| u32 | bytes | ||
| ) | [protected, virtual] |
Implements cat::UDPEndpoint.
| void cat::sphynx::ServerWorker::OnWrite | ( | u32 | bytes | ) | [inline, protected, virtual] |
friend class Map [friend] |
Definition at line 180 of file SphynxServer.hpp.
Map* cat::sphynx::ServerWorker::_conn_map [protected] |
Definition at line 183 of file SphynxServer.hpp.
ServerTimer* cat::sphynx::ServerWorker::_server_timer [protected] |
Definition at line 184 of file SphynxServer.hpp.
volatile u32 cat::sphynx::ServerWorker::_session_count [protected] |
Definition at line 187 of file SphynxServer.hpp.
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.