MQTT AUTH packet (v5)
More...
#include <v5_auth.hpp>
MQTT AUTH packet (v5)
MQTT AUTH packet.
See https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901217
Thread Safety
- Distinct objects: Safe
- Shared objects: Unsafe
Requirements
◆ auth_packet() [1/2]
◆ auth_packet() [2/2]
◆ code()
Get reason code.
- Returns
- reason_code
◆ const_buffer_sequence()
std::vector< as::const_buffer > async_mqtt::v5::auth_packet::const_buffer_sequence |
( |
| ) |
const |
Create const buffer sequence it is for boost asio APIs.
- Returns
- const buffer sequence
◆ num_of_const_buffer_sequence()
std::size_t async_mqtt::v5::auth_packet::num_of_const_buffer_sequence |
( |
| ) |
const |
Get number of element of const_buffer_sequence.
- Returns
- number of element of const_buffer_sequence
◆ props()
properties const & async_mqtt::v5::auth_packet::props |
( |
| ) |
const |
Get properties.
- Returns
- properties
◆ size()
std::size_t async_mqtt::v5::auth_packet::size |
( |
| ) |
const |
Get packet size.
- Returns
- packet size
◆ type()
Get MQTT control packet type.
- Returns
- control packet type
◆ operator<()
less than operator
- Parameters
-
lhs | compare target |
rhs | compare target |
- Returns
- true if the lhs less than the rhs, otherwise false.
Requirements
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | o, |
|
|
auth_packet const & | v ) |
|
friend |
stream output operator
- Parameters
-
- Returns
- output stream
◆ operator==()
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 file:
- /home/kondo/work/async_mqtt/include/async_mqtt/packet/v5_auth.hpp