summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_12.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Protocol/Protocol_1_12.h')
-rw-r--r--src/Protocol/Protocol_1_12.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Protocol/Protocol_1_12.h b/src/Protocol/Protocol_1_12.h
index 9b87494a6..fe518fdbd 100644
--- a/src/Protocol/Protocol_1_12.h
+++ b/src/Protocol/Protocol_1_12.h
@@ -7,6 +7,8 @@ Declares the 1.12 protocol classes:
- release 1.12 protocol (#335)
- cProtocol_1_12_1
- release 1.12.1 protocol (#338)
+ - cProtocol_1_12_2
+ - release 1.12.2 protocol (#340)
(others may be added later in the future for the 1.12 release series)
*/
@@ -71,3 +73,24 @@ protected:
+
+class cProtocol_1_12_2:
+ public cProtocol_1_12_1
+{
+ typedef cProtocol_1_12_1 Super;
+
+public:
+ cProtocol_1_12_2(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State):
+ Super(a_Client, a_ServerAddress, a_ServerPort, a_State)
+ {
+ }
+
+protected:
+ virtual void HandlePacketKeepAlive(cByteBuffer & a_ByteBuffer) override;
+ virtual void HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer) override;
+ virtual void SendKeepAlive(UInt32 a_PingID) override;
+};
+
+
+
+