#include <netCommon.h>
Public Member Functions | |
std::pair < boost::asio::ip::udp::endpoint, std::string > | getMyIP () |
long | getCurrentTimeLong () |
NetCommon () | |
virtual | ~NetCommon () |
std::pair < boost::asio::ip::udp::endpoint, std::string > | getMyIP () |
long | getCurrentTimeLong () |
NetCommon () | |
virtual | ~NetCommon () |
std::pair < boost::asio::ip::udp::endpoint, std::string > | getMyIP () |
long | getCurrentTimeLong () |
NetCommon () | |
virtual | ~NetCommon () |
Private Attributes | |
boost::posix_time::ptime | startTime |
Definition at line 18 of file netCommon.h.
FastEcslent::NetCommon::NetCommon | ( | ) |
FastEcslent::NetCommon::~NetCommon | ( | ) | [virtual] |
Definition at line 61 of file netCommon.cpp.
FastEcslent::NetCommon::NetCommon | ( | ) |
virtual FastEcslent::NetCommon::~NetCommon | ( | ) | [virtual] |
FastEcslent::NetCommon::NetCommon | ( | ) |
virtual FastEcslent::NetCommon::~NetCommon | ( | ) | [virtual] |
std::pair< boost::asio::ip::udp::endpoint, std::string > FastEcslent::NetCommon::getMyIP | ( | ) |
Definition at line 19 of file netCommon.cpp.
Referenced by FastEcslent::NetThread::init(), and FastEcslent::NetLobby::init().
long FastEcslent::NetCommon::getCurrentTimeLong | ( | ) |
Definition at line 57 of file netCommon.cpp.
References getCurrentTime(), and startTime.
Referenced by FastEcslent::NetThread::combineCommandsIntoNetMessage(), FastEcslent::NetThread::combineSquelchesIntoNetMessage(), FastEcslent::NetThread::createEntFromClientReq(), FastEcslent::NetThread::createEntFromClientRes(), FastEcslent::NetLobby::lobbyExitGame(), FastEcslent::NetLobby::lobbyJoinGame(), FastEcslent::NetLobby::lobbySlotSwapReq(), FastEcslent::NetLobby::lobbyStart(), FastEcslent::NetThread::requestMineralPatchID(), FastEcslent::NetThread::responseMineralPatchID(), FastEcslent::NetLobby::sendLobbyClientResponse(), FastEcslent::NetLobby::sendLobbyServerInfo(), FastEcslent::NetThread::sendUnknownEntQueries(), and FastEcslent::NetThread::serve().
std::pair<boost::asio::ip::udp::endpoint, std::string> FastEcslent::NetCommon::getMyIP | ( | ) |
long FastEcslent::NetCommon::getCurrentTimeLong | ( | ) |
std::pair<boost::asio::ip::udp::endpoint, std::string> FastEcslent::NetCommon::getMyIP | ( | ) |
long FastEcslent::NetCommon::getCurrentTimeLong | ( | ) |
boost::posix_time::ptime FastEcslent::NetCommon::startTime [private] |