2012-06-14 09:06:06 -04:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2012-09-23 17:23:33 -04:00
|
|
|
#include "OSSupport/TCPLink.h"
|
2012-06-14 09:06:06 -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;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|