async_mqtt 9.0.1
Loading...
Searching...
No Matches
Collaboration diagram for pubrec_reason_code:

Enumerations

enum class  async_mqtt::pubrec_reason_code : std::uint8_t {
  pubrec_reason_code::success = 0x00 , pubrec_reason_code::no_matching_subscribers = 0x10 , pubrec_reason_code::unspecified_error = 0x80 , pubrec_reason_code::implementation_specific_error = 0x83 ,
  pubrec_reason_code::not_authorized = 0x87 , pubrec_reason_code::topic_name_invalid = 0x90 , pubrec_reason_code::packet_identifier_in_use = 0x91 , pubrec_reason_code::quota_exceeded = 0x97 ,
  pubrec_reason_code::payload_format_invalid = 0x99
}
 pubrec reason code It is reported as PUBLISH (QoS2) response via PUBREC packet More...
 

Functions

error_code async_mqtt::make_error_code (pubrec_reason_code v)
 make error code
 
constexpr char const * async_mqtt::pubrec_reason_code_to_string (pubrec_reason_code v)
 stringize pubrec_reason_code
 
std::ostream & async_mqtt::operator<< (std::ostream &o, pubrec_reason_code v)
 output to the stream
 
sys::error_category const & async_mqtt::get_pubrec_reason_code_category ()
 get gategory of pubrec_reason_code
 

Detailed Description

Enumeration Type Documentation

◆ pubrec_reason_code

enum class async_mqtt::pubrec_reason_code : std::uint8_t
strong

pubrec reason code It is reported as PUBLISH (QoS2) response via PUBREC packet

Requirements

Enumerator
success 

Success (not an error)

no_matching_subscribers 

No matching subscribers (not an error)

unspecified_error 

Unspecified error.

implementation_specific_error 

Implementation specific error.

not_authorized 

Not authorized.

topic_name_invalid 

Topic Name invalid.

packet_identifier_in_use 

Packet Identifier in use.

quota_exceeded 

Quota exceeded.

payload_format_invalid 

Payload format invalid.

Function Documentation

◆ get_pubrec_reason_code_category()

sys::error_category const & async_mqtt::get_pubrec_reason_code_category ( )

get gategory of pubrec_reason_code

Returns
category

Requirements

◆ make_error_code()

error_code async_mqtt::make_error_code ( pubrec_reason_code v)

make error code

Parameters
vtarget
Returns
pubrec_reason_code string

Requirements

◆ operator<<()

std::ostream & async_mqtt::operator<< ( std::ostream & o,
pubrec_reason_code v )

output to the stream

Parameters
ooutput stream
vtarget
Returns
output stream

Requirements

◆ pubrec_reason_code_to_string()

char const * async_mqtt::pubrec_reason_code_to_string ( pubrec_reason_code v)
constexpr

stringize pubrec_reason_code

Parameters
vtarget
Returns
pubrec_reason_code string

Requirements