2012-05-25 03:18:52 -04:00
|
|
|
|
2011-10-03 14:41:19 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "cTCPLink.h"
|
|
|
|
|
2012-05-25 03:18:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-03 14:41:19 -04:00
|
|
|
|
|
|
|
class cHeartBeat : public cTCPLink
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cHeartBeat();
|
|
|
|
~cHeartBeat();
|
|
|
|
private:
|
|
|
|
virtual void ReceivedData( char a_Data[256], int a_Size );
|
|
|
|
|
|
|
|
void Authenticate();
|
|
|
|
int m_State;
|
|
|
|
|
|
|
|
void SendUpdate();
|
|
|
|
|
|
|
|
std::string m_ServerID;
|
2012-05-25 03:18:52 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|