summaryrefslogtreecommitdiffstats
path: root/source/cHeartBeat.h
blob: 8a5373af418c190329fe4eed28641a92ff4c75cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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;
};