2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20#include "iot/mqtt-fast/ControlPacketFactory.h"
22#ifndef DOXYGEN_SHOULD_SKIP_THIS
37 std::size_t consumed = 0;
51 data.setLength(remainingLength.getValue());
59 consumed = data.construct();
60 if (data.isComplete()) {
64 error = data.isError();
93 return data.getValue().size();
ControlPacketFactory(core::socket::SocketContext *socketContext)
uint64_t getRemainingLength()
iot::mqtt_fast::types::Int_V remainingLength
iot::mqtt_fast::types::Binary & getPacket()
iot::mqtt_fast::types::Int_1 typeFlags
std::size_t construct() override
Int_1(core::socket::SocketContext *socketContext=nullptr)
uint32_t getValue() const
std::size_t construct() override
Int_V(core::socket::SocketContext *socketContext=nullptr)