MQTT SUBACK packet (v5)
More...
#include <v5_suback.hpp>
template<std::size_t PacketIdBytes>
class async_mqtt::v5::basic_suback_packet< PacketIdBytes >
MQTT SUBACK packet (v5)
- Template Parameters
-
PacketIdBytes | size of packet_id |
MQTT SUBACK packet.
See https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901171
Thread Safety
- Distinct objects: Safe
- Shared objects: Unsafe
Requirements
◆ basic_suback_packet()
template<std::size_t PacketIdBytes>
◆ const_buffer_sequence()
template<std::size_t PacketIdBytes>
Create const buffer sequence it is for boost asio APIs.
- Returns
- const buffer sequence
◆ entries()
template<std::size_t PacketIdBytes>
Get entries.
- Returns
- entries
◆ 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
◆ props()
template<std::size_t PacketIdBytes>
Get properties.
- Returns
- properties
◆ size()
template<std::size_t PacketIdBytes>
Get packet size.
- Returns
- packet size
◆ type()
template<std::size_t PacketIdBytes>
Get MQTT control packet type.
- Returns
- control packet type
◆ operator<()
template<std::size_t PacketIdBytes>
less than operator
- Parameters
-
lhs | compare target |
rhs | compare target |
- Returns
- true if the lhs less than the rhs, otherwise false.
Requirements
◆ operator<<()
template<std::size_t PacketIdBytes>
stream output operator
- Parameters
-
- Returns
- output stream
Requirements
◆ operator==()
template<std::size_t PacketIdBytes>
equal operator
- Parameters
-
lhs | compare target |
rhs | compare target |
- Returns
- true if the lhs equal to the rhs, otherwise false.
Requirements
The documentation for this class was generated from the following files:
- /home/kondo/work/async_mqtt/include/async_mqtt/packet/packet_fwd.hpp
- /home/kondo/work/async_mqtt/include/async_mqtt/packet/v5_suback.hpp