Fixed sender again, as it did not work when sending errors.

This commit is contained in:
lotodore
2007-10-28 15:06:57 +00:00
parent e951bda1db
commit cdea81b2ba
12 changed files with 104 additions and 148 deletions
+3 -5
View File
@@ -70,8 +70,6 @@ public:
void RemoveGame(unsigned id);
bool GetSocketForSession(SessionId session, SOCKET &outSocket);
u_int32_t GetNextUniquePlayerId();
u_int32_t GetNextGameId();
ServerCallback &GetCallback();
@@ -123,9 +121,9 @@ protected:
void CleanupSessionMap();
void CloseSessionDelayed(SessionWrapper session);
void SendError(SessionId s, int errorCode);
void SendJoinGameFailed(SessionId s, int reason);
void SendGameList(SessionId s);
void SendError(boost::shared_ptr<SessionData> s, int errorCode);
void SendJoinGameFailed(boost::shared_ptr<SessionData> s, int reason);
void SendGameList(boost::shared_ptr<SessionData> s);
void BroadcastStatisticsUpdate();
SenderThread &GetSender();