MCPcopy Create free account
hub / github.com/acl-dev/acl / reset

Method reset

lib_acl_cpp/src/mqtt/mqtt_header.cpp:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75mqtt_header::~mqtt_header() {}
76
77void mqtt_header::reset() {
78 status_ = MQTT_STAT_HDR_TYPE;
79 finished_ = false;
80 type_ = MQTT_RESERVED_MIN;
81 hflags_ = 0;
82 dlen_ = 0;
83 hlen_ = 0;
84}
85
86mqtt_header& mqtt_header::set_type(mqtt_type_t type) {
87 if (type > MQTT_RESERVED_MIN && type < MQTT_RESERVED_MAX) {

Callers 2

read_callbackMethod · 0.45
handle_dataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected