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

29 lines
419 B
C++
Raw Normal View History

#pragma once
#include "mqtt_message.hpp"
namespace acl {
2021-03-07 12:45:22 +08:00
class ACL_CPP_API mqtt_pingreq : public mqtt_message {
public:
mqtt_pingreq(void);
2021-03-08 15:03:32 +08:00
mqtt_pingreq(const mqtt_header& header);
~mqtt_pingreq(void);
protected:
// @override
bool to_string(string& out);
// @override
int update(const char*, int dlen) {
return dlen;
}
// @override
bool finished(void) const {
return true;
}
};
} // namespace acl