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

28 lines
454 B
C++
Raw Normal View History

2021-03-02 17:40:14 +08:00
#pragma once
2021-03-04 17:37:28 +08:00
#include "mqtt_ack.hpp"
2021-03-02 17:40:14 +08:00
namespace acl {
/**
* mqtt message object for MQTT_PUBREL type.
*/
2021-03-07 12:45:22 +08:00
class ACL_CPP_API mqtt_pubrel : public mqtt_ack {
2021-03-02 17:40:14 +08:00
public:
/**
* constructor for creating MQTT_PUBREL mqtt message object.
* @see mqtt_ack
*/
2021-03-02 17:40:14 +08:00
mqtt_pubrel(void);
/**
* constructor for creating MQTT_PUBREL mqtt message object.
* @see mqtt_ack
*/
2021-03-08 15:03:32 +08:00
mqtt_pubrel(const mqtt_header& header);
2021-03-02 17:40:14 +08:00
~mqtt_pubrel(void);
};
} // namespace acl