From ecfe6ab65bd1fc2c7f5733fe6ef4e6ddaac44a26 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 23 Sep 2012 22:09:57 +0000 Subject: Source files cleanup: The rest of the files renamed. git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/HeartBeat.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 source/HeartBeat.h (limited to 'source/HeartBeat.h') diff --git a/source/HeartBeat.h b/source/HeartBeat.h new file mode 100644 index 000000000..79465507c --- /dev/null +++ b/source/HeartBeat.h @@ -0,0 +1,28 @@ + +#pragma once + +#include "OSSupport/TCPLink.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; +}; + + + + -- cgit v1.2.3