a4a418a679
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6
29 lines
306 B
C++
29 lines
306 B
C++
|
|
#pragma once
|
|
|
|
#include "cTCPLink.h"
|
|
|
|
|
|
|
|
|
|
|
|
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;
|
|
};
|
|
|
|
|
|
|
|
|