Default ValidateMessage implementation

This commit is contained in:
Dan Paulat 2021-12-24 12:06:38 -06:00
parent 0303412519
commit cb86ab4b9b
6 changed files with 59 additions and 48 deletions

View file

@ -29,11 +29,11 @@ protected:
Level2Message(Level2Message&&) noexcept;
Level2Message& operator=(Level2Message&&) noexcept;
bool ValidateMessage(std::istream& is, size_t bytesRead) const override;
public:
virtual ~Level2Message();
size_t data_size() const override;
const Level2MessageHeader& header() const;
void set_header(Level2MessageHeader&& header);