Server support for unsubscribing/resubscribing of lobby messages. Not yet used by the client.

This commit is contained in:
lotodore
2008-05-11 21:41:30 +00:00
parent c60fd58ec9
commit 0ef69297d1
9 changed files with 156 additions and 25 deletions
+4
View File
@@ -50,6 +50,9 @@ public:
void SetReadyFlag();
void ResetReadyFlag();
bool IsReady() const;
void SetWantsLobbyMsg();
void ResetWantsLobbyMsg();
bool WantsLobbyMsg() const;
const std::string &GetClientAddr() const;
void SetClientAddr(const std::string &addr);
@@ -69,6 +72,7 @@ private:
std::string m_clientAddr;
ReceiveBuffer m_receiveBuffer;
bool m_readyFlag;
bool m_wantsLobbyMsg;
boost::timers::portable::microsec_timer m_activityTimer;
bool m_activityTimeoutNoticeSent;
boost::timers::portable::microsec_timer m_autoDisconnectTimer;