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 {
|
|
|
|
|
2021-03-12 17:26:49 +08:00
|
|
|
/**
|
|
|
|
* 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:
|
2021-03-12 17:26:49 +08:00
|
|
|
/**
|
|
|
|
* constructor for creating MQTT_PUBREL mqtt message object.
|
|
|
|
* @see mqtt_ack
|
|
|
|
*/
|
2021-03-02 17:40:14 +08:00
|
|
|
mqtt_pubrel(void);
|
2021-03-12 17:26:49 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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-12 17:26:49 +08:00
|
|
|
|
2021-03-02 17:40:14 +08:00
|
|
|
~mqtt_pubrel(void);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace acl
|