async_mqtt 5.0.0
|
MQTT PUBREL packet (v3.1.1) More...
#include <v3_1_1_pubrel.hpp>
Public Member Functions | |
basic_pubrel_packet (packet_id_t packet_id) | |
constructor | |
std::vector< as::const_buffer > | const_buffer_sequence () const |
Create const buffer sequence it is for boost asio APIs. | |
std::size_t | size () const |
Get packet size. | |
packet_id_t | packet_id () const |
Get packet_id. | |
Static Public Member Functions | |
static constexpr std::size_t | num_of_const_buffer_sequence () |
Get number of element of const_buffer_sequence. | |
Related Symbols | |
(Note that these are not member symbols.) | |
using | pubrel_packet = basic_pubrel_packet<2> |
Type alias of basic_pubrel_packet (PacketIdBytes=2). | |
MQTT PUBREL packet (v3.1.1)
PacketIdBytes | size of packet_id |
If basic_endpoint::set_auto_pub_response() is called with true, then this packet is automatically sent when PUBREC v3_1_1::basic_pubrec_packet is received. If both the client and the broker keeping the session, this packet is stored in the endpoint for resending if disconnect/reconnect happens. If the session doesn' exist or lost, then the stored packets are erased.
See http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718053
|
inline |
constructor
packet_id | MQTT PacketIdentifier that is corresponding to the PUBREC packet |
|
inline |
Create const buffer sequence it is for boost asio APIs.
|
inlinestaticconstexpr |
Get number of element of const_buffer_sequence.
|
inline |
Get packet_id.
|
inline |
Get packet size.