From e883aa828c304600fcd707b50df9515011311db8 Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Thu, 21 Sep 2017 14:12:43 +0100 Subject: Add support for release 1.12.2 (#4041) --- src/Protocol/Protocol_1_12.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'src/Protocol/Protocol_1_12.h') 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; +}; + + + + -- cgit v1.2.3