anjana_sreekumar@infosys.com | 991c206 | 2020-01-08 11:42:57 +0530 | [diff] [blame^] | 1 | /* |
| 2 | Copyright 2019-present Infosys Limited |
| 3 | |
| 4 | SPDX-License-Identifier: Apache-2.0 |
| 5 | |
| 6 | */ |
| 7 | |
| 8 | |
| 9 | |
| 10 | #ifndef GTPV2MESSAGE_H_ |
| 11 | #define GTPV2MESSAGE_H_ |
| 12 | |
| 13 | #include "basicTypes.h" |
| 14 | #include "msgBuffer.h" |
| 15 | #include "../../../gtpV2Codec/msgClasses/gtpV2MsgDataTypes.h" |
| 16 | |
| 17 | class GtpV2Message { |
| 18 | public: |
| 19 | GtpV2Message(); |
| 20 | virtual ~GtpV2Message(); |
| 21 | static void encodeHeader(MsgBuffer& buffer, GtpV2MessageHeader& msgHeader); |
| 22 | static bool decodeHeader(MsgBuffer& buffer, GtpV2MessageHeader& msgHeader); |
| 23 | |
| 24 | protected: |
| 25 | Uint8 msgType; |
| 26 | }; |
| 27 | |
| 28 | #endif /* GTPV2MESSAGE_H_ */ |
| 29 | |