21 lines
307 B
C
21 lines
307 B
C
|
#pragma once
|
||
|
|
||
|
#include "cTCPLink.h"
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
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;
|
||
|
};
|