async_mqtt 9.0.1
Loading...
Searching...
No Matches
endpoint (Packet level MQTT endpoint for client/server,broker)
Collaboration diagram for endpoint (Packet level MQTT endpoint for client/server,broker):

Classes

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

Typedefs

template<role Role, typename NextLayer >
using endpoint = basic_endpoint<Role, 2, NextLayer>
 Type alias of basic_endpoint (PacketIdBytes=2). This is for typical usecase.
 

Enumerations

enum class  async_mqtt::filter { filter::match , filter::except }
 receive packet filter More...
 

Detailed Description

Typedef Documentation

◆ endpoint

template<role Role, std::size_t PacketIdBytes, typename NextLayer >
template<role Role, typename NextLayer >
using endpoint = basic_endpoint<Role, 2, NextLayer>
related

Type alias of basic_endpoint (PacketIdBytes=2). This is for typical usecase.

Thread Safety

  • Distinct objects: Safe
  • Shared objects: Unsafe

Requirements

Template Parameters
Rolerole for packet sendable checking
NextLayerJust next layer for basic_endpoint. mqtt, mqtts, ws, and wss are predefined.

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