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