Commit 66cd78b3bf511a673f2440da158d88eb9c4a95ab

Authored by Wiebe Cazemier
1 parent be212624

comment

Showing 1 changed file with 1 additions and 0 deletions
mqttpacket.h
@@ -35,6 +35,7 @@ public: @@ -35,6 +35,7 @@ public:
35 MqttPacket(char *buf, size_t len, size_t fixed_header_length, Client_p &sender); 35 MqttPacket(char *buf, size_t len, size_t fixed_header_length, Client_p &sender);
36 36
37 // TODO: not constructors, but static functions that return all the stuff after the fixed header, then a constructor with vector. 37 // TODO: not constructors, but static functions that return all the stuff after the fixed header, then a constructor with vector.
  38 + // Or, I can not have the fixed header, and calculate that on write-to-buf.
38 MqttPacket(const ConnAck &connAck); 39 MqttPacket(const ConnAck &connAck);
39 MqttPacket(const SubAck &subAck); 40 MqttPacket(const SubAck &subAck);
40 MqttPacket(const Publish &publish); 41 MqttPacket(const Publish &publish);