Woman, Life, Freedom


DoIP Library
Diagnostics over Internet Protocol (DoIP) C++ library
alive_check_request.h
1#ifndef ALIVE_CHECK_REQUEST_H
2#define ALIVE_CHECK_REQUEST_H
3
4#include "./message.h"
5
6namespace DoipLib
7{
10 {
11 private:
12 static const PayloadType cPayloadType{PayloadType::AliveCheckRequest};
13
14 protected:
15 void GetPayload(std::vector<uint8_t> &payload) const override;
16
17 virtual bool TrySetPayload(
18 const std::vector<uint8_t> &payload,
19 uint32_t payloadLength) override;
20
21 public:
22 AliveCheckRequest() noexcept;
23
26 explicit AliveCheckRequest(uint8_t protocolVersion) noexcept;
27 };
28}
29
30#endif
DoIP tester alive check request.
Definition: alive_check_request.h:10
virtual bool TrySetPayload(const std::vector< uint8_t > &payload, uint32_t payloadLength) override
Try to set message payload.
void GetPayload(std::vector< uint8_t > &payload) const override
Get message payload.
DoIP generic message.
Definition: message.h:12