Preparing new send engine.

This commit is contained in:
lotodore
2009-01-07 19:37:05 +00:00
parent d077e89257
commit 606158c4f0
11 changed files with 116 additions and 25 deletions
+3 -4
View File
@@ -35,7 +35,7 @@
#define NET_ADMIN_IRC_TERMINATE_TIMEOUT_MSEC 4000
class SenderThread;
class SenderInterface;
class ReceiverHelper;
class ServerSenderCallback;
class ServerGameThread;
@@ -87,7 +87,7 @@ public:
ServerStats GetStats() const;
boost::posix_time::ptime GetStartTime() const;
SenderThread &GetSender();
SenderInterface &GetSender();
protected:
@@ -99,7 +99,6 @@ protected:
typedef std::map<unsigned, boost::shared_ptr<ServerGameThread> > GameMap;
typedef std::map<std::string, boost::timers::portable::microsec_timer> TimerClientAddressMap;
typedef std::list<unsigned> RemoveGameList;
typedef std::list<boost::shared_ptr<SenderThread> > SenderThreadList;
// Main function of the thread.
virtual void Main();
@@ -191,7 +190,7 @@ private:
GameMap m_gameMap;
boost::shared_ptr<ReceiverHelper> m_receiver;
boost::shared_ptr<SenderThread> m_sender;
boost::shared_ptr<SenderInterface> m_sender;
boost::shared_ptr<ServerSenderCallback> m_senderCallback;
GuiInterface &m_gui;
AvatarManager &m_avatarManager;