diff options
Diffstat (limited to 'source/cHeartBeat.h')
-rw-r--r-- | source/cHeartBeat.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/source/cHeartBeat.h b/source/cHeartBeat.h new file mode 100644 index 000000000..8a5373af4 --- /dev/null +++ b/source/cHeartBeat.h @@ -0,0 +1,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;
+};
\ No newline at end of file |