MQTT PUBREC packet (v3.1.1)
More...
#include <v3_1_1_pubrec.hpp>
template<std::size_t PacketIdBytes>
class async_mqtt::v3_1_1::basic_pubrec_packet< PacketIdBytes >
MQTT PUBREC packet (v3.1.1)
- Template Parameters
-
PacketIdBytes | size of packet_id |
If basic_endpoint::set_auto_pub_response() is called with true, then this packet is automatically sent when PUBLISH (QoS2) v3_1_1::basic_publish_packet is received.
See http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718048
◆ basic_pubrec_packet()
template<std::size_t PacketIdBytes>
constructor
- Parameters
-
packet_id | MQTT PacketIdentifier that is corresponding to the PUBLISH(QoS2) packet |
◆ const_buffer_sequence()
template<std::size_t PacketIdBytes>
Create const buffer sequence it is for boost asio APIs.
- Returns
- const buffer sequence
◆ num_of_const_buffer_sequence()
template<std::size_t PacketIdBytes>
Get number of element of const_buffer_sequence.
- Returns
- number of element of const_buffer_sequence
◆ packet_id()
template<std::size_t PacketIdBytes>
Get packet_id.
- Returns
- packet_id
◆ size()
template<std::size_t PacketIdBytes>
Get packet size.
- Returns
- packet size
The documentation for this class was generated from the following files: