#include <netThread.h>
Definition at line 33 of file netThread.h.
FastEcslent::NetThread::NetThread | ( | Engine * | eng | ) | [inline] |
FastEcslent::NetThread::NetThread | ( | Engine * | eng | ) | [inline] |
FastEcslent::NetThread::NetThread | ( | Engine * | eng | ) | [inline] |
FastEcslent::NetThread::NetThread | ( | Engine * | eng | ) | [inline] |
FastEcslent::NetThread::NetThread | ( | Engine * | eng | ) | [inline] |
void FastEcslent::NetThread::runThread | ( | ) | [private] |
Definition at line 47 of file netThread.cpp.
References gameTick(), listener, quit, FastEcslent::Sender::run(), FastEcslent::Listener::run(), and sender.
void FastEcslent::NetThread::sendUnknownEntQueries | ( | ) | [private] |
Definition at line 196 of file netThread.cpp.
References FastEcslent::Sender::addPriorityMessage(), FastEcslent::NetCommon::getCurrentTimeLong(), netCommon, FastEcslent::ReqInfoSize, FastEcslent::REQUESTINFOMESSAGETYPE, sender, and unknows.
Referenced by sendCommands().
void FastEcslent::NetThread::run | ( | ) |
Definition at line 42 of file netThread.cpp.
References engine, FastEcslent::Engine::instanceId, netThread, and runThread().
Referenced by getMyIP(), and FastEcslent::Engine::loadLevel().
void FastEcslent::NetThread::init | ( | void | ) |
Reimplemented in FastEcslent::Server, FastEcslent::Server, FastEcslent::Server, FastEcslent::Server, and FastEcslent::Server.
Definition at line 23 of file netThread.cpp.
References engine, getCurrentTime(), FastEcslent::NetCommon::getMyIP(), FastEcslent::Sender::init(), FastEcslent::Listener::init(), insideLobby, FastEcslent::Engine::instanceId, Options::isServer, listener, myIP, myIPAddress, netCommon, Options::networkPort, FastEcslent::Engine::options, quit, sender, sleepTime, startTime, and TICK_SLEEP_TIME.
Referenced by getMyIP(), and FastEcslent::Engine::init().
void FastEcslent::NetThread::stopAndJoin | ( | ) |
Definition at line 528 of file netThread.cpp.
References FastEcslent::Sender::join(), FastEcslent::Sender::kill(), FastEcslent::Listener::kill(), listener, netThread, sender, FastEcslent::Listener::stop(), FastEcslent::Sender::stop(), and stop().
Referenced by FastEcslent::Engine::releaseLevel().
void FastEcslent::NetThread::stop | ( | ) |
int FastEcslent::NetThread::getNetId | ( | Entity * | ent | ) |
Definition at line 552 of file netThread.cpp.
References netIdToEntMap.
Referenced by FastEcslent::NetAspect::requestMineralPatchID(), and FastEcslent::NetAspect::updateServer().
FastEcslent::Entity * FastEcslent::NetThread::getEntityFromNetId | ( | int | entID | ) |
Definition at line 560 of file netThread.cpp.
References netIdToEntMap.
Referenced by FastEcslent::NetAspect::tick(), and updateMineralPatchID().
void FastEcslent::NetThread::clientTick | ( | ) |
Definition at line 243 of file netThread.cpp.
References handleServerMessages(), sendCommands(), and sleepTime.
Referenced by gameTick(), and getMyIP().
void FastEcslent::NetThread::handleServerMessages | ( | ) |
Definition at line 283 of file netThread.cpp.
References createEnt(), createEntFromClientRes(), FastEcslent::CREATEENTITYRESPONSEMESSAGETYPE, FastEcslent::Listener::dequeMessage(), FastEcslent::INFOMESSAGETYPE, listener, FastEcslent::MINERALPATCHIDRESPONSETYPE, squelchEnts(), FastEcslent::SQUELCHMESSAGETYPE, FastEcslent::STATEMESSAGETYPE, updateMineralPatchID(), and updateState().
Referenced by clientTick().
void FastEcslent::NetThread::updateState | ( | Message * | m | ) |
void FastEcslent::NetThread::updateState | ( | State * | s | ) |
Definition at line 314 of file netThread.cpp.
References FastEcslent::Entity::getAspect(), FastEcslent::NET, FastEcslent::Entity::netAspect, netIdToEntMap, unknows, and FastEcslent::NetAspect::updateQueue.
void FastEcslent::NetThread::createEntFromClientReq | ( | int | builderid, | |
FastEcslent::EntityType | ent, | |||
Ogre::Vector3 | pos | |||
) |
Definition at line 332 of file netThread.cpp.
References FastEcslent::Sender::addMessage(), FastEcslent::CREATEENTITYREQUESTMESSAGETYPE, FastEcslent::CreateEntityRequestSize, engine, FastEcslent::NetCommon::getCurrentTimeLong(), netCommon, FastEcslent::Engine::options, Options::player, sender, and Options::side.
Referenced by FastEcslent::NetAspect::createEntity(), handleMessage(), and FastEcslent::Builder::startBuildingNextEntity().
void FastEcslent::NetThread::createEntFromClientReq | ( | Message * | m | ) |
Definition at line 357 of file netThread.cpp.
References createEntFromClientRes(), FastEcslent::EntityMgr::createEntityForPlayerAndSide(), FastEcslent::CreateEntityRequestSize, engine, FastEcslent::Entity::entityId, FastEcslent::Engine::entityMgr, and FastEcslent::Identity::id.
void FastEcslent::NetThread::createEntFromClientRes | ( | int | builderid, | |
int | builtid | |||
) |
Definition at line 365 of file netThread.cpp.
References FastEcslent::Sender::addMessage(), FastEcslent::CREATEENTITYRESPONSEMESSAGETYPE, FastEcslent::CreateEntityResponseSize, FastEcslent::NetCommon::getCurrentTimeLong(), netCommon, and sender.
Referenced by createEntFromClientReq(), and handleServerMessages().
void FastEcslent::NetThread::createEntFromClientRes | ( | Message * | m | ) |
Definition at line 384 of file netThread.cpp.
References FastEcslent::CreateEntityResponseSize, engine, FastEcslent::Engine::entityMgr, FastEcslent::EntityMgr::getEntityById(), FastEcslent::Entity::netAspect, and FastEcslent::NetAspect::setEntityBeingBuilt().
void FastEcslent::NetThread::createEnt | ( | Message * | m | ) |
Definition at line 393 of file netThread.cpp.
References FastEcslent::InfoSize.
Referenced by handleServerMessages().
void FastEcslent::NetThread::createEnt | ( | Info * | info | ) |
Definition at line 403 of file netThread.cpp.
References FastEcslent::Entity::ai, FastEcslent::EntityMgr::createEntityForPlayerAndSide(), FastEcslent::GameMgr::currentEntityCounts, FastEcslent::Entity::depth, FastEcslent::Entity::desiredHeading, FastEcslent::Entity::desiredSpeed, engine, FastEcslent::Engine::entityMgr, FastEcslent::Entity::entityType, FastEcslent::GameMgr::entTypeData, FastEcslent::Engine::gameMgr, FastEcslent::Entity::hitpoints, FastEcslent::Entity::length, FastEcslent::Entity::maxSpeed, netEntToIdMap, netIdToEntMap, FastEcslent::NETSLAVE, FastEcslent::GameMgr::playerEnts, FastEcslent::GameMgr::playerNEnts, FastEcslent::GameMgr::pop, FastEcslent::UnitAI::state, FastEcslent::GameEntTypeProperties::supply, FastEcslent::Entity::timeLeftToBirth, FastEcslent::Entity::uiname, unknows, FastEcslent::Entity::vel, and FastEcslent::Entity::width.
void FastEcslent::NetThread::sendCommands | ( | ) |
Definition at line 137 of file netThread.cpp.
References combineCommandsIntoNetMessage(), combineSquelchesIntoNetMessage(), and sendUnknownEntQueries().
Referenced by clientTick(), and getMyIP().
void FastEcslent::NetThread::sendCommand | ( | int | id, | |
float | dh, | |||
float | ds | |||
) |
Definition at line 220 of file netThread.cpp.
References FastEcslent::Sender::addMessage(), FastEcslent::COMMANDENTITYMESSAGETYPE, FastEcslent::CommandEntitySize, getCurrentTime(), sender, and startTime.
void FastEcslent::NetThread::squelchEnts | ( | Message * | m | ) |
Definition at line 449 of file netThread.cpp.
References netIdToEntMap, and FastEcslent::SquelchEntitySize.
Referenced by handleServerMessages().
void FastEcslent::NetThread::serverTick | ( | ) |
Definition at line 237 of file netThread.cpp.
References handleClientMessages(), serve(), and sleepTime.
Referenced by gameTick(), and getMyIP().
void FastEcslent::NetThread::handleClientMessages | ( | ) |
Definition at line 272 of file netThread.cpp.
References FastEcslent::Listener::dequeMessage(), handleMessage(), listener, and FastEcslent::STATEMESSAGETYPE.
Referenced by serverTick().
void FastEcslent::NetThread::handleMessage | ( | Message * | m | ) |
Definition at line 460 of file netThread.cpp.
References FastEcslent::COMMANDENTITYMESSAGETYPE, createEntFromClientReq(), FastEcslent::CREATEENTITYREQUESTMESSAGETYPE, FastEcslent::MINERALPATCHIDREQUESTTYPE, propagateCommand(), FastEcslent::REQUESTINFOMESSAGETYPE, responseMineralPatchID(), sendInfo(), and FastEcslent::SQUELCHMESSAGETYPE.
Referenced by handleClientMessages().
void FastEcslent::NetThread::sendInfo | ( | Message * | m | ) |
Definition at line 483 of file netThread.cpp.
References FastEcslent::Sender::addMessage(), engine, FastEcslent::Entity::entityId, FastEcslent::Engine::entityMgr, FastEcslent::EntityMgr::ents, FastEcslent::fillInfoFromEnt(), getCurrentTime(), FastEcslent::HeaderSize, FastEcslent::Identity::id, FastEcslent::InfoSize, FastEcslent::makeMessageWithInfoHeader(), FastEcslent::printMessageData(), FastEcslent::printMessageHeader(), sender, and startTime.
Referenced by handleMessage().
void FastEcslent::NetThread::propagateCommand | ( | Message * | m | ) |
Definition at line 507 of file netThread.cpp.
References FastEcslent::Entity::ai, FastEcslent::CommandEntitySize, FastEcslent::Entity::desiredHeading, FastEcslent::Entity::desiredSpeed, engine, FastEcslent::Entity::entityClass, FastEcslent::Engine::entityMgr, FastEcslent::EntityMgr::getEntityById(), FastEcslent::NETSLAVE, FastEcslent::UnitAI::state, and FastEcslent::SURFACE.
Referenced by handleMessage().
void FastEcslent::NetThread::combineCommandsIntoNetMessage | ( | ) |
Definition at line 144 of file netThread.cpp.
References FastEcslent::Sender::addMessage(), FastEcslent::COMMANDENTITYMESSAGETYPE, FastEcslent::CommandEntitySize, commandQueue, FastEcslent::NetCommon::getCurrentTimeLong(), netCommon, and sender.
Referenced by sendCommands().
void FastEcslent::NetThread::combineSquelchesIntoNetMessage | ( | ) |
Definition at line 165 of file netThread.cpp.
References FastEcslent::Sender::addMessage(), FastEcslent::NetCommon::getCurrentTimeLong(), netCommon, sender, FastEcslent::SquelchEntitySize, FastEcslent::SQUELCHMESSAGETYPE, and squelchQueue.
Referenced by sendCommands().
void FastEcslent::NetThread::sendLobbyClientResponse | ( | std::string | clientIP, | |
int | port, | |||
int | side, | |||
int | player | |||
) |
void FastEcslent::NetThread::lobbyStart | ( | ) |
void FastEcslent::NetThread::addCommand | ( | CommandEntity * | m | ) |
Definition at line 187 of file netThread.cpp.
References commandQueue.
Referenced by FastEcslent::NetAspect::updateServer().
void FastEcslent::NetThread::addSquelch | ( | SquelchEntity * | m | ) |
Definition at line 191 of file netThread.cpp.
References squelchQueue.
Referenced by FastEcslent::NetAspect::updateServer().
void FastEcslent::NetThread::requestMineralPatchID | ( | int | mineralid | ) |
Definition at line 568 of file netThread.cpp.
References FastEcslent::Sender::addMessage(), FastEcslent::NetCommon::getCurrentTimeLong(), FastEcslent::MineralPatchIDRequestSize, FastEcslent::MINERALPATCHIDREQUESTTYPE, netCommon, and sender.
Referenced by FastEcslent::NetAspect::requestMineralPatchID().
void FastEcslent::NetThread::responseMineralPatchID | ( | Message * | m | ) |
Definition at line 586 of file netThread.cpp.
References FastEcslent::Sender::addMessage(), engine, FastEcslent::Entity::entityId, FastEcslent::Engine::entityMgr, FastEcslent::Entity::entityType, FastEcslent::NetCommon::getCurrentTimeLong(), FastEcslent::EntityMgr::getEntityById(), FastEcslent::Identity::id, FastEcslent::Minerals::mineralPatchId, FastEcslent::MineralPatchIDRequestSize, FastEcslent::MineralPatchIDResponseSize, FastEcslent::MINERALPATCHIDRESPONSETYPE, FastEcslent::MINERALS, netCommon, and sender.
Referenced by handleMessage().
void FastEcslent::NetThread::updateMineralPatchID | ( | Message * | m | ) |
Definition at line 613 of file netThread.cpp.
References FastEcslent::Entity::entityType, getEntityFromNetId(), FastEcslent::Minerals::mineralPatchId, FastEcslent::MineralPatchIDResponseSize, and FastEcslent::MINERALS.
Referenced by handleServerMessages().
void FastEcslent::NetThread::serve | ( | ) |
Definition at line 249 of file netThread.cpp.
References FastEcslent::Sender::addMessage(), engine, FastEcslent::Engine::entityMgr, FastEcslent::EntityMgr::ents, FastEcslent::fillStateFromEnt(), FastEcslent::NetCommon::getCurrentTimeLong(), FastEcslent::makeMessageWithStateHeader(), FastEcslent::EntityMgr::nEnts, netCommon, sender, and FastEcslent::StateSize.
Referenced by serverTick().
void FastEcslent::NetThread::gameTick | ( | ) |
Definition at line 56 of file netThread.cpp.
References clientTick(), engine, FastEcslent::Engine::gameState, Options::isServer, FastEcslent::LOBBY, FastEcslent::Engine::options, and serverTick().
Referenced by runThread().
void FastEcslent::NetThread::runThread | ( | ) | [private] |
udp::endpoint FastEcslent::NetThread::getMyIP | ( | ) | [protected] |
Definition at line 21 of file netThread.cpp.
References clientTick(), DEBUG, FastEcslent::Entity::depth, FastEcslent::Entity::desiredHeading, FastEcslent::Entity::desiredSpeed, engine, FastEcslent::Entity::entityId, FastEcslent::Entity::entityType, FastEcslent::fillInfoFromEnt(), FastEcslent::fillStateFromEnt(), getCurrentTime(), FastEcslent::Identity::id, FastEcslent::INFOMESSAGETYPE, FastEcslent::InfoSize, FastEcslent::Sender::init(), FastEcslent::Listener::init(), init(), FastEcslent::Engine::instanceId, Options::isServer, FastEcslent::Entity::length, listener, FastEcslent::makeMessageWithInfoHeader(), FastEcslent::makeMessageWithStateHeader(), FastEcslent::Entity::maxSpeed, FastEcslent::Entity::minSpeed, myIP, netThread, Options::networkPort, FastEcslent::Engine::options, FastEcslent::Entity::pos, quit, FastEcslent::Sender::run(), FastEcslent::Listener::run(), run(), runThread(), sendCommands(), sender, serverSleepTime, serverTick(), startTime, FastEcslent::STATEMESSAGETYPE, FastEcslent::StateSize, FastEcslent::Entity::uiname, updateState(), FastEcslent::Entity::vel, FastEcslent::Entity::width, and FastEcslent::Entity::yaw.
void FastEcslent::NetThread::run | ( | ) |
void FastEcslent::NetThread::init | ( | ) |
Reimplemented in FastEcslent::Server, FastEcslent::Server, FastEcslent::Server, FastEcslent::Server, and FastEcslent::Server.
void FastEcslent::NetThread::stopAndJoin | ( | ) |
void FastEcslent::NetThread::stop | ( | ) |
void FastEcslent::NetThread::clientTick | ( | ) |
void FastEcslent::NetThread::updateState | ( | ) |
Definition at line 162 of file netThread.cpp.
Referenced by getMyIP(), handleServerMessages(), and updateState().
void FastEcslent::NetThread::sendCommands | ( | ) |
void FastEcslent::NetThread::serverTick | ( | ) |
void FastEcslent::NetThread::handleClientMessages | ( | ) |
FastEcslent::Message * FastEcslent::NetThread::getMessage | ( | ) |
Definition at line 215 of file netThread.cpp.
References listener, and FastEcslent::Listener::recBuffer.
void FastEcslent::NetThread::handleMessage | ( | Message * | m | ) |
void FastEcslent::NetThread::sendInfo | ( | Message * | m | ) |
void FastEcslent::NetThread::serve | ( | ) |
void FastEcslent::NetThread::runThread | ( | ) | [private] |
udp::endpoint FastEcslent::NetThread::getMyIP | ( | ) | [protected] |
void FastEcslent::NetThread::run | ( | ) |
void FastEcslent::NetThread::init | ( | ) |
Reimplemented in FastEcslent::Server, FastEcslent::Server, FastEcslent::Server, FastEcslent::Server, and FastEcslent::Server.
void FastEcslent::NetThread::stopAndJoin | ( | ) |
void FastEcslent::NetThread::stop | ( | ) |
void FastEcslent::NetThread::clientTick | ( | ) |
void FastEcslent::NetThread::updateState | ( | ) |
void FastEcslent::NetThread::sendCommands | ( | ) |
void FastEcslent::NetThread::serverTick | ( | ) |
void FastEcslent::NetThread::handleClientMessages | ( | ) |
Message* FastEcslent::NetThread::getMessage | ( | ) |
void FastEcslent::NetThread::handleMessage | ( | Message * | m | ) |
void FastEcslent::NetThread::sendInfo | ( | Message * | m | ) |
void FastEcslent::NetThread::serve | ( | ) |
void FastEcslent::NetThread::runThread | ( | ) | [private] |
void FastEcslent::NetThread::sendUnknownEntQueries | ( | ) | [private] |
void FastEcslent::NetThread::run | ( | ) |
void FastEcslent::NetThread::init | ( | ) |
Reimplemented in FastEcslent::Server, FastEcslent::Server, FastEcslent::Server, FastEcslent::Server, and FastEcslent::Server.
void FastEcslent::NetThread::stopAndJoin | ( | ) |
void FastEcslent::NetThread::stop | ( | ) |
int FastEcslent::NetThread::getNetId | ( | Entity * | ent | ) |
void FastEcslent::NetThread::clientTick | ( | ) |
void FastEcslent::NetThread::handleServerMessages | ( | ) |
void FastEcslent::NetThread::updateState | ( | Message * | m | ) |
void FastEcslent::NetThread::updateState | ( | State * | s | ) |
void FastEcslent::NetThread::createEnt | ( | Message * | m | ) |
void FastEcslent::NetThread::createEnt | ( | Info * | info | ) |
void FastEcslent::NetThread::sendCommands | ( | ) |
void FastEcslent::NetThread::sendCommand | ( | int | id, | |
float | dh, | |||
float | ds | |||
) |
void FastEcslent::NetThread::squelchEnts | ( | Message * | m | ) |
void FastEcslent::NetThread::serverTick | ( | ) |
void FastEcslent::NetThread::handleClientMessages | ( | ) |
void FastEcslent::NetThread::handleMessage | ( | Message * | m | ) |
void FastEcslent::NetThread::sendInfo | ( | Message * | m | ) |
void FastEcslent::NetThread::propagateCommand | ( | Message * | m | ) |
void FastEcslent::NetThread::combineCommandsIntoNetMessage | ( | ) |
void FastEcslent::NetThread::combineSquelchesIntoNetMessage | ( | ) |
void FastEcslent::NetThread::sendLobbyClientResponse | ( | std::string | clientIP, | |
int | port, | |||
int | side, | |||
int | player | |||
) |
void FastEcslent::NetThread::lobbyStart | ( | ) |
void FastEcslent::NetThread::addCommand | ( | CommandEntity * | m | ) |
void FastEcslent::NetThread::addSquelch | ( | SquelchEntity * | m | ) |
void FastEcslent::NetThread::serve | ( | ) |
void FastEcslent::NetThread::gameTick | ( | ) |
void FastEcslent::NetThread::runThread | ( | ) | [private] |
void FastEcslent::NetThread::sendUnknownEntQueries | ( | ) | [private] |
void FastEcslent::NetThread::run | ( | ) |
void FastEcslent::NetThread::init | ( | ) |
Reimplemented in FastEcslent::Server, FastEcslent::Server, FastEcslent::Server, FastEcslent::Server, and FastEcslent::Server.
void FastEcslent::NetThread::stopAndJoin | ( | ) |
void FastEcslent::NetThread::stop | ( | ) |
int FastEcslent::NetThread::getNetId | ( | Entity * | ent | ) |
void FastEcslent::NetThread::clientTick | ( | ) |
void FastEcslent::NetThread::handleServerMessages | ( | ) |
void FastEcslent::NetThread::updateState | ( | Message * | m | ) |
void FastEcslent::NetThread::updateState | ( | State * | s | ) |
void FastEcslent::NetThread::createEnt | ( | Message * | m | ) |
void FastEcslent::NetThread::createEnt | ( | Info * | info | ) |
void FastEcslent::NetThread::sendCommands | ( | ) |
void FastEcslent::NetThread::sendCommand | ( | int | id, | |
float | dh, | |||
float | ds | |||
) |
void FastEcslent::NetThread::squelchEnts | ( | Message * | m | ) |
void FastEcslent::NetThread::serverTick | ( | ) |
void FastEcslent::NetThread::handleClientMessages | ( | ) |
void FastEcslent::NetThread::handleMessage | ( | Message * | m | ) |
void FastEcslent::NetThread::sendInfo | ( | Message * | m | ) |
void FastEcslent::NetThread::propagateCommand | ( | Message * | m | ) |
void FastEcslent::NetThread::combineCommandsIntoNetMessage | ( | ) |
void FastEcslent::NetThread::combineSquelchesIntoNetMessage | ( | ) |
void FastEcslent::NetThread::sendLobbyClientResponse | ( | std::string | clientIP, | |
int | port, | |||
int | side, | |||
int | player | |||
) |
void FastEcslent::NetThread::lobbyStart | ( | ) |
void FastEcslent::NetThread::addCommand | ( | CommandEntity * | m | ) |
void FastEcslent::NetThread::addSquelch | ( | SquelchEntity * | m | ) |
void FastEcslent::NetThread::serve | ( | ) |
void FastEcslent::NetThread::gameTick | ( | ) |
boost::thread FastEcslent::NetThread::netThread [private] |
int FastEcslent::NetThread::TICK_SLEEP_TIME [private] |
ptime FastEcslent::NetThread::startTime [private] |
Definition at line 41 of file netThread.h.
Referenced by getMyIP(), init(), sendCommand(), and sendInfo().
bool FastEcslent::NetThread::quit [private] |
Definition at line 42 of file netThread.h.
Referenced by getMyIP(), init(), runThread(), and stop().
std::map<int, State*> FastEcslent::NetThread::unknows [private] |
Definition at line 44 of file netThread.h.
Referenced by createEnt(), sendUnknownEntQueries(), and updateState().
std::map<int, Entity*> FastEcslent::NetThread::netIdToEntMap [private] |
Definition at line 45 of file netThread.h.
Referenced by createEnt(), getEntityFromNetId(), getNetId(), squelchEnts(), and updateState().
std::map<Entity*, int> FastEcslent::NetThread::netEntToIdMap [private] |
std::deque<CommandEntity*> FastEcslent::NetThread::commandQueue [private] |
Definition at line 48 of file netThread.h.
Referenced by addCommand(), and combineCommandsIntoNetMessage().
std::deque<SquelchEntity*> FastEcslent::NetThread::squelchQueue [private] |
Definition at line 49 of file netThread.h.
Referenced by addSquelch(), and combineSquelchesIntoNetMessage().
udp::endpoint FastEcslent::NetThread::myIP [private] |
NetCommon* FastEcslent::NetThread::netCommon [private] |
Definition at line 52 of file netThread.h.
Referenced by combineCommandsIntoNetMessage(), combineSquelchesIntoNetMessage(), createEntFromClientReq(), createEntFromClientRes(), init(), requestMineralPatchID(), responseMineralPatchID(), sendUnknownEntQueries(), and serve().
Definition at line 55 of file netThread.h.
Referenced by createEnt(), createEntFromClientReq(), createEntFromClientRes(), gameTick(), getMyIP(), init(), NetThread(), propagateCommand(), responseMineralPatchID(), run(), sendInfo(), and serve().
Definition at line 57 of file netThread.h.
Referenced by getMessage(), getMyIP(), handleClientMessages(), handleServerMessages(), init(), runThread(), and stopAndJoin().
Definition at line 58 of file netThread.h.
Referenced by combineCommandsIntoNetMessage(), combineSquelchesIntoNetMessage(), createEntFromClientReq(), createEntFromClientRes(), getMyIP(), init(), requestMineralPatchID(), responseMineralPatchID(), runThread(), sendCommand(), sendInfo(), sendUnknownEntQueries(), serve(), and stopAndJoin().
Definition at line 61 of file netThread.h.
Definition at line 62 of file netThread.h.
std::string FastEcslent::NetThread::myIPAddress |
boost::posix_time::milliseconds* FastEcslent::NetThread::sleepTime |
boost::posix_time::milliseconds* FastEcslent::NetThread::serverSleepTime [private] |
Definition at line 49 of file netThread.h.
Definition at line 56 of file netThread.h.
Definition at line 57 of file netThread.h.
boost::posix_time::milliseconds* FastEcslent::NetThread::serverSleepTime [private] |
Definition at line 37 of file netThread.h.
Definition at line 49 of file netThread.h.
Definition at line 56 of file netThread.h.
Definition at line 57 of file netThread.h.
std::map<int, State*> FastEcslent::NetThread::unknows [private] |
Definition at line 44 of file netThread.h.
std::map<int, Entity*> FastEcslent::NetThread::netIdToEntMap [private] |
Definition at line 45 of file netThread.h.
std::map<Entity*, int> FastEcslent::NetThread::netEntToIdMap [private] |
Definition at line 46 of file netThread.h.
std::deque<CommandEntity*> FastEcslent::NetThread::commandQueue [private] |
Definition at line 48 of file netThread.h.
std::deque<SquelchEntity*> FastEcslent::NetThread::squelchQueue [private] |
Definition at line 49 of file netThread.h.
NetCommon* FastEcslent::NetThread::netCommon [private] |
Definition at line 52 of file netThread.h.
Definition at line 55 of file netThread.h.
Definition at line 57 of file netThread.h.
Definition at line 58 of file netThread.h.
boost::posix_time::milliseconds* FastEcslent::NetThread::sleepTime |
Definition at line 65 of file netThread.h.
std::map<int, State*> FastEcslent::NetThread::unknows [private] |
Definition at line 44 of file netThread.h.
std::map<int, Entity*> FastEcslent::NetThread::netIdToEntMap [private] |
Definition at line 45 of file netThread.h.
std::map<Entity*, int> FastEcslent::NetThread::netEntToIdMap [private] |
Definition at line 46 of file netThread.h.
std::deque<CommandEntity*> FastEcslent::NetThread::commandQueue [private] |
Definition at line 48 of file netThread.h.
std::deque<SquelchEntity*> FastEcslent::NetThread::squelchQueue [private] |
Definition at line 49 of file netThread.h.
NetCommon* FastEcslent::NetThread::netCommon [private] |
Definition at line 52 of file netThread.h.
Definition at line 55 of file netThread.h.
Definition at line 57 of file netThread.h.
Definition at line 58 of file netThread.h.
boost::posix_time::milliseconds* FastEcslent::NetThread::sleepTime |
Definition at line 65 of file netThread.h.