No longer use the server list md5, it caused only trouble, and the serverlist .z file is small enough to be downloaded each time (#95).
This commit is contained in:
@@ -107,34 +107,6 @@ protected:
|
||||
ClientStateStartServerListDownload();
|
||||
};
|
||||
|
||||
// State: Synchronizing server list.
|
||||
class ClientStateSynchronizingServerList : public ClientState
|
||||
{
|
||||
public:
|
||||
// Access the state singleton.
|
||||
static ClientStateSynchronizingServerList &Instance();
|
||||
virtual ~ClientStateSynchronizingServerList();
|
||||
|
||||
virtual void Enter(boost::shared_ptr<ClientThread> client);
|
||||
virtual void Exit(boost::shared_ptr<ClientThread> client);
|
||||
|
||||
virtual void HandlePacket(boost::shared_ptr<ClientThread> /*client*/, boost::shared_ptr<NetPacket> /*tmpPacket*/) {}
|
||||
|
||||
void SetDownloadHelper(boost::shared_ptr<DownloadHelper> helper);
|
||||
|
||||
protected:
|
||||
|
||||
// Protected constructor - this is a singleton.
|
||||
ClientStateSynchronizingServerList();
|
||||
|
||||
// Poll for the completion of the download.
|
||||
void TimerLoop(const boost::system::error_code& ec, boost::shared_ptr<ClientThread> client);
|
||||
|
||||
private:
|
||||
|
||||
boost::shared_ptr<DownloadHelper> m_downloadHelper;
|
||||
};
|
||||
|
||||
// State: Downloading the server list.
|
||||
class ClientStateDownloadingServerList : public ClientState
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user