Server accept thread is no longer a thread.

This commit is contained in:
lotodore
2009-05-10 14:57:51 +00:00
parent ac4c2e9aef
commit d258bc25d0
7 changed files with 122 additions and 153 deletions
+3 -3
View File
@@ -30,7 +30,7 @@
#include <gui/guiinterface.h>
class ServerLobbyThread;
class ServerAcceptThread;
class ServerAcceptManager;
class SenderThread;
class ConfigFile;
class AvatarManager;
@@ -67,7 +67,7 @@ public:
virtual void SignalIrcServerError(int errorCode);
protected:
typedef std::list<boost::shared_ptr<ServerAcceptThread> > AcceptThreadList;
typedef std::list<boost::shared_ptr<ServerAcceptManager> > AcceptManagerList;
ServerLobbyThread &GetLobbyThread();
@@ -82,7 +82,7 @@ private:
boost::shared_ptr<ServerLobbyThread> m_lobbyThread;
boost::shared_ptr<IrcThread> m_ircThread;
boost::timers::portable::microsec_timer m_ircRestartTimer;
AcceptThreadList m_acceptThreadPool;
AcceptManagerList m_acceptManagerPool;
};
#endif