#ifndef MERCURYRESPONSE_H #define MERCURYRESPONSE_H #include #include #include #include #include #include "protobuf/mercury.pb.h" #include "Utils.h" typedef std::vector> mercuryParts; class MercuryResponse { private: void parseResponse(std::vector &data); std::vector data; public: MercuryResponse(std::vector &data); ~MercuryResponse(); void decodeHeader(); Header mercuryHeader; uint8_t flags; mercuryParts parts; uint64_t sequenceId; }; #endif