async_mqtt 5.0.0
Loading...
Searching...
No Matches
endpoint.hpp File Reference
#include <set>
#include <deque>
#include <atomic>
#include <async_mqtt/packet/packet_variant.hpp>
#include <async_mqtt/util/value_allocator.hpp>
#include <async_mqtt/util/make_shared_helper.hpp>
#include <async_mqtt/null_strand.hpp>
#include <async_mqtt/stream.hpp>
#include <async_mqtt/store.hpp>
#include <async_mqtt/log.hpp>
#include <async_mqtt/topic_alias_send.hpp>
#include <async_mqtt/topic_alias_recv.hpp>
#include <async_mqtt/packet_id_manager.hpp>
#include <async_mqtt/protocol_version.hpp>
#include <async_mqtt/buffer_to_packet_variant.hpp>
#include <async_mqtt/packet/packet_traits.hpp>

Go to the source code of this file.

Classes

class  async_mqtt::basic_endpoint< Role, PacketIdBytes, Strand, NextLayer >
 MQTT endpoint corresponding to the connection. More...
 

Enumerations

enum class  async_mqtt::role { client = 0b01 , server = 0b10 , any = 0b11 }
 MQTT endpoint connection role. More...
 
enum class  async_mqtt::filter { match , except }
 receive packet filter More...
 

Enumeration Type Documentation

◆ filter

enum class async_mqtt::filter
strong

receive packet filter

Enumerator
match 

matched control_packet_type is target

except 

no matched control_packet_type is target

◆ role

enum class async_mqtt::role
strong

MQTT endpoint connection role.

Enumerator
client 

as client. Can't send CONNACK, SUBACK, UNSUBACK, PINGRESP. Can send Other packets.

server 

as server. Can't send CONNECT, SUBSCRIBE, UNSUBSCRIBE, PINGREQ, DISCONNECT(only on v3.1.1). Can send Other packets.

any 

can send all packets. (no check)