acl/lib_acl_cpp/include/acl_cpp/mqtt/mqtt_pubrec.hpp

20 lines
280 B
C++
Raw Normal View History

2021-03-02 16:56:52 +08:00
#pragma once
#include "mqtt_puback.hpp"
namespace acl {
class mqtt_pubrec : public mqtt_puback {
public:
mqtt_pubrec(void);
~mqtt_pubrec(void);
2021-03-02 17:40:14 +08:00
protected:
// @override from mqtt_message
unsigned char get_header_flags(void) const {
return 0x02;
}
2021-03-02 16:56:52 +08:00
};
} // namespace acl