From 268db91ff394580fb94c1dfeb3808a42c2d4e4b6 Mon Sep 17 00:00:00 2001 From: Dino Menges Date: Mon, 24 Jun 2024 14:40:29 +0200 Subject: [PATCH 1/3] Move endpoint definition (using) to endpoint_fwd.hpp --- include/async_mqtt/endpoint.hpp | 11 ----------- include/async_mqtt/endpoint_fwd.hpp | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/async_mqtt/endpoint.hpp b/include/async_mqtt/endpoint.hpp index ef7a4d15f..3c133083a 100644 --- a/include/async_mqtt/endpoint.hpp +++ b/include/async_mqtt/endpoint.hpp @@ -877,17 +877,6 @@ class basic_endpoint : public std::enable_shared_from_this -using endpoint = basic_endpoint; - } // namespace async_mqtt #include diff --git a/include/async_mqtt/endpoint_fwd.hpp b/include/async_mqtt/endpoint_fwd.hpp index f4b291c37..a21c34a5e 100644 --- a/include/async_mqtt/endpoint_fwd.hpp +++ b/include/async_mqtt/endpoint_fwd.hpp @@ -16,6 +16,17 @@ namespace async_mqtt { template class basic_endpoint; +/** + * @ingroup endpoint + * @related basic_endpoint + * @brief Type alias of basic_endpoint (PacketIdBytes=2). + * This is for typical usecase. + * @tparam Role role for packet sendable checking + * @tparam NextLayer Just next layer for basic_endpoint. mqtt, mqtts, ws, and wss are predefined. + */ +template +using endpoint = basic_endpoint; + } // namespace async_mqtt #endif // ASYNC_MQTT_ENDPOINT_FWD_HPP From 2e54ee2951f1aed0e404f0aaf3f89d62a90b12d0 Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Mon, 24 Jun 2024 22:38:11 +0900 Subject: [PATCH 2/3] Moved basic_endpoint Doxygen comments for consistency. Added endpoint_fwd.hpp include to endpoint.hpp. Added Thread Safety comment to the endpoint. --- include/async_mqtt/endpoint.hpp | 12 +----------- include/async_mqtt/endpoint_fwd.hpp | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/include/async_mqtt/endpoint.hpp b/include/async_mqtt/endpoint.hpp index 3c133083a..7e68ff1ad 100644 --- a/include/async_mqtt/endpoint.hpp +++ b/include/async_mqtt/endpoint.hpp @@ -10,6 +10,7 @@ #include #include +#include #include #include #include @@ -44,17 +45,6 @@ enum class filter { except ///< no matched control_packet_type is target }; -/** - * @ingroup endpoint - * @brief MQTT endpoint corresponding to the connection - * #### Thread Safety - * - Distinct objects: Safe - * - Shared objects: Unsafe - * - * @tparam Role role for packet sendable checking - * @tparam PacketIdBytes MQTT spec is 2. You can use `endpoint` for that. - * @tparam NextLayer Just next layer for basic_endpoint. mqtt, mqtts, ws, and wss are predefined. - */ template class basic_endpoint : public std::enable_shared_from_this>{ enum class connection_status { diff --git a/include/async_mqtt/endpoint_fwd.hpp b/include/async_mqtt/endpoint_fwd.hpp index a21c34a5e..b6efcb642 100644 --- a/include/async_mqtt/endpoint_fwd.hpp +++ b/include/async_mqtt/endpoint_fwd.hpp @@ -13,6 +13,17 @@ namespace async_mqtt { +/** + * @ingroup endpoint + * @brief MQTT endpoint corresponding to the connection + * #### Thread Safety + * - Distinct objects: Safe + * - Shared objects: Unsafe + * + * @tparam Role role for packet sendable checking + * @tparam PacketIdBytes MQTT spec is 2. You can use `endpoint` for that. + * @tparam NextLayer Just next layer for basic_endpoint. mqtt, mqtts, ws, and wss are predefined. + */ template class basic_endpoint; @@ -21,6 +32,9 @@ class basic_endpoint; * @related basic_endpoint * @brief Type alias of basic_endpoint (PacketIdBytes=2). * This is for typical usecase. + * #### Thread Safety + * - Distinct objects: Safe + * - Shared objects: Unsafe * @tparam Role role for packet sendable checking * @tparam NextLayer Just next layer for basic_endpoint. mqtt, mqtts, ws, and wss are predefined. */ From 565bdd3f741e130ac779b6ead5dfbfb0c22eecab Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Mon, 24 Jun 2024 23:04:27 +0900 Subject: [PATCH 3/3] Updated documents. --- CHANGELOG.adoc | 1 + doc/CHANGELOG.html | 15 +- .../classasync__mqtt_1_1basic__endpoint.html | 2 - ...async__mqtt_1_1basic__packet__variant.html | 2 +- ...perty_1_1assigned__client__identifier.html | 2 +- ...t_1_1property_1_1authentication__data.html | 2 +- ...1_1property_1_1authentication__method.html | 2 +- ...nc__mqtt_1_1property_1_1content__type.html | 2 +- ...mqtt_1_1property_1_1correlation__data.html | 2 +- ..._1_1property_1_1maximum__packet__size.html | 2 +- ...ync__mqtt_1_1property_1_1maximum__qos.html | 2 +- ...property_1_1message__expiry__interval.html | 2 +- ...roperty_1_1payload__format__indicator.html | 2 +- ...c__mqtt_1_1property_1_1reason__string.html | 2 +- ..._mqtt_1_1property_1_1receive__maximum.html | 2 +- ...erty_1_1request__problem__information.html | 2 +- ...rty_1_1request__response__information.html | 2 +- ..._1_1property_1_1response__information.html | 2 +- ...__mqtt_1_1property_1_1response__topic.html | 2 +- ...mqtt_1_1property_1_1retain__available.html | 2 +- ...tt_1_1property_1_1server__keep__alive.html | 2 +- ...mqtt_1_1property_1_1server__reference.html | 2 +- ...property_1_1session__expiry__interval.html | 2 +- ...ty_1_1shared__subscription__available.html | 2 +- ...1property_1_1subscription__identifier.html | 2 +- ..._1subscription__identifier__available.html | 2 +- ...ync__mqtt_1_1property_1_1topic__alias.html | 2 +- ..._1_1property_1_1topic__alias__maximum.html | 2 +- ...c__mqtt_1_1property_1_1user__property.html | 2 +- ..._1_1wildcard__subscription__available.html | 2 +- ..._1_1property_1_1will__delay__interval.html | 2 +- ...classasync__mqtt_1_1property__variant.html | 2 +- ..._1_1v3__1__1_1_1basic__puback__packet.html | 2 +- ...1_1v3__1__1_1_1basic__pubcomp__packet.html | 2 +- ...1_1v3__1__1_1_1basic__publish__packet.html | 2 +- ..._1_1v3__1__1_1_1basic__pubrec__packet.html | 2 +- ..._1_1v3__1__1_1_1basic__pubrel__packet.html | 2 +- ..._1_1v3__1__1_1_1basic__suback__packet.html | 2 +- ...1v3__1__1_1_1basic__subscribe__packet.html | 2 +- ..._1v3__1__1_1_1basic__unsuback__packet.html | 2 +- ...3__1__1_1_1basic__unsubscribe__packet.html | 2 +- ...__mqtt_1_1v3__1__1_1_1connack__packet.html | 2 +- ...__mqtt_1_1v3__1__1_1_1connect__packet.html | 2 +- ...qtt_1_1v3__1__1_1_1disconnect__packet.html | 2 +- ...__mqtt_1_1v3__1__1_1_1pingreq__packet.html | 2 +- ..._mqtt_1_1v3__1__1_1_1pingresp__packet.html | 2 +- ...lassasync__mqtt_1_1v5_1_1auth__packet.html | 2 +- ...__mqtt_1_1v5_1_1basic__puback__packet.html | 2 +- ..._mqtt_1_1v5_1_1basic__pubcomp__packet.html | 2 +- ..._mqtt_1_1v5_1_1basic__publish__packet.html | 2 +- ...__mqtt_1_1v5_1_1basic__pubrec__packet.html | 2 +- ...__mqtt_1_1v5_1_1basic__pubrel__packet.html | 2 +- ...__mqtt_1_1v5_1_1basic__suback__packet.html | 2 +- ...qtt_1_1v5_1_1basic__subscribe__packet.html | 2 +- ...mqtt_1_1v5_1_1basic__unsuback__packet.html | 2 +- ...t_1_1v5_1_1basic__unsubscribe__packet.html | 2 +- ...sasync__mqtt_1_1v5_1_1connack__packet.html | 2 +- ...sasync__mqtt_1_1v5_1_1connect__packet.html | 2 +- ...ync__mqtt_1_1v5_1_1disconnect__packet.html | 2 +- ...sasync__mqtt_1_1v5_1_1pingreq__packet.html | 2 +- ...async__mqtt_1_1v5_1_1pingresp__packet.html | 2 +- doc/api/classasync__mqtt_1_1will.html | 2 +- doc/api/client_8hpp_source.html | 8 +- doc/api/endpoint_8hpp_source.html | 1020 ++++++++--------- doc/api/endpoint__fwd_8hpp_source.html | 17 +- doc/api/group__endpoint.html | 8 +- doc/api/group__error__reporting.html | 8 +- doc/api/search/all_10.js | 2 +- doc/api/search/all_12.js | 2 +- doc/api/search/all_14.js | 4 +- doc/api/search/all_15.js | 2 +- doc/api/search/all_16.js | 4 +- doc/api/search/all_17.js | 2 +- doc/api/search/all_5.js | 4 +- doc/api/search/all_6.js | 2 +- doc/api/search/all_7.js | 2 +- doc/api/search/all_8.js | 6 +- doc/api/search/all_f.js | 8 +- doc/api/structasync__mqtt_1_1pub_1_1opts.html | 2 +- doc/api/structasync__mqtt_1_1sub_1_1opts.html | 2 +- doc/comparison.html | 2 +- doc/tutorial/non_packet_based.html | 163 --- 82 files changed, 630 insertions(+), 774 deletions(-) delete mode 100644 doc/tutorial/non_packet_based.html diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index d8781058c..a051b2878 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -2,6 +2,7 @@ = History == 7.0.1 +* Move endpoint definition (using) to endpoint_fwd.hpp #311, #312 * Refined documents. #308 == 7.0.0 diff --git a/doc/CHANGELOG.html b/doc/CHANGELOG.html index 4994ee492..13aafffde 100644 --- a/doc/CHANGELOG.html +++ b/doc/CHANGELOG.html @@ -64,10 +64,22 @@

History

== 7.0.1
-* Refined documents. #308 +version 311, +#312
+
+
+
+
    +
  • +

    Refined documents. #308

    +
  • +
+
+
+

7.0.0

@@ -841,6 +853,7 @@

1.0.0

diff --git a/doc/api/classasync__mqtt_1_1basic__endpoint.html b/doc/api/classasync__mqtt_1_1basic__endpoint.html index 46b6e8919..70bfc7f31 100644 --- a/doc/api/classasync__mqtt_1_1basic__endpoint.html +++ b/doc/api/classasync__mqtt_1_1basic__endpoint.html @@ -111,8 +111,6 @@

MQTT endpoint corresponding to the connection. More...

-

#include <endpoint.hpp>

-

Inherits std::enable_shared_from_this< basic_endpoint< Role, PacketIdBytes, NextLayer > >.

diff --git a/doc/api/classasync__mqtt_1_1basic__packet__variant.html b/doc/api/classasync__mqtt_1_1basic__packet__variant.html index 008ec6f61..eb00de8ab 100644 --- a/doc/api/classasync__mqtt_1_1basic__packet__variant.html +++ b/doc/api/classasync__mqtt_1_1basic__packet__variant.html @@ -179,7 +179,7 @@

Detailed Description

template<std::size_t PacketIdBytes>
class async_mqtt::basic_packet_variant< PacketIdBytes >

The varaint type of all packets and system_error.

-

+

Thread Safety

  • Distinct objects: Safe
  • diff --git a/doc/api/classasync__mqtt_1_1property_1_1assigned__client__identifier.html b/doc/api/classasync__mqtt_1_1property_1_1assigned__client__identifier.html index 2c65ad3e5..a018c6329 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1assigned__client__identifier.html +++ b/doc/api/classasync__mqtt_1_1property_1_1assigned__client__identifier.html @@ -151,7 +151,7 @@

Detailed Description

assigned_client_identifier property

-

+

Thread Safety

  • Distinct objects: Safe
  • diff --git a/doc/api/classasync__mqtt_1_1property_1_1authentication__data.html b/doc/api/classasync__mqtt_1_1property_1_1authentication__data.html index 4dd64c5c1..0b86dc9a4 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1authentication__data.html +++ b/doc/api/classasync__mqtt_1_1property_1_1authentication__data.html @@ -151,7 +151,7 @@

    Detailed Description

    authentication_data property

    -

    +

    Thread Safety

    • Distinct objects: Safe
    • diff --git a/doc/api/classasync__mqtt_1_1property_1_1authentication__method.html b/doc/api/classasync__mqtt_1_1property_1_1authentication__method.html index 494df049c..9ebeee447 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1authentication__method.html +++ b/doc/api/classasync__mqtt_1_1property_1_1authentication__method.html @@ -151,7 +151,7 @@

      Detailed Description

      authentication_method property

      -

      +

      Thread Safety

      • Distinct objects: Safe
      • diff --git a/doc/api/classasync__mqtt_1_1property_1_1content__type.html b/doc/api/classasync__mqtt_1_1property_1_1content__type.html index 67e8acede..988e8ce55 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1content__type.html +++ b/doc/api/classasync__mqtt_1_1property_1_1content__type.html @@ -151,7 +151,7 @@

        Detailed Description

        content_type property

        -

        +

        Thread Safety

        • Distinct objects: Safe
        • diff --git a/doc/api/classasync__mqtt_1_1property_1_1correlation__data.html b/doc/api/classasync__mqtt_1_1property_1_1correlation__data.html index e93e838ff..7f77073fa 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1correlation__data.html +++ b/doc/api/classasync__mqtt_1_1property_1_1correlation__data.html @@ -151,7 +151,7 @@

          Detailed Description

          correlation_data property

          -

          +

          Thread Safety

          • Distinct objects: Safe
          • diff --git a/doc/api/classasync__mqtt_1_1property_1_1maximum__packet__size.html b/doc/api/classasync__mqtt_1_1property_1_1maximum__packet__size.html index f7300ce89..6794a6844 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1maximum__packet__size.html +++ b/doc/api/classasync__mqtt_1_1property_1_1maximum__packet__size.html @@ -122,7 +122,7 @@

            Detailed Description

            maximum_packet_size property

            -

            +

            Thread Safety

            • Distinct objects: Safe
            • diff --git a/doc/api/classasync__mqtt_1_1property_1_1maximum__qos.html b/doc/api/classasync__mqtt_1_1property_1_1maximum__qos.html index 4d00acc91..fb82f2949 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1maximum__qos.html +++ b/doc/api/classasync__mqtt_1_1property_1_1maximum__qos.html @@ -122,7 +122,7 @@

              Detailed Description

              maximum_qos property

              -

              +

              Thread Safety

              • Distinct objects: Safe
              • diff --git a/doc/api/classasync__mqtt_1_1property_1_1message__expiry__interval.html b/doc/api/classasync__mqtt_1_1property_1_1message__expiry__interval.html index b05b55c6b..d46c9d23b 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1message__expiry__interval.html +++ b/doc/api/classasync__mqtt_1_1property_1_1message__expiry__interval.html @@ -122,7 +122,7 @@

                Detailed Description

                message_expiry_interval property

                -

                +

                Thread Safety

                • Distinct objects: Safe
                • diff --git a/doc/api/classasync__mqtt_1_1property_1_1payload__format__indicator.html b/doc/api/classasync__mqtt_1_1property_1_1payload__format__indicator.html index 70a281fd8..ef684a518 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1payload__format__indicator.html +++ b/doc/api/classasync__mqtt_1_1property_1_1payload__format__indicator.html @@ -122,7 +122,7 @@

                  Detailed Description

                  payload_format_indicator property

                  -

                  +

                  Thread Safety

                  • Distinct objects: Safe
                  • diff --git a/doc/api/classasync__mqtt_1_1property_1_1reason__string.html b/doc/api/classasync__mqtt_1_1property_1_1reason__string.html index 8a0cb660c..5419bda6a 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1reason__string.html +++ b/doc/api/classasync__mqtt_1_1property_1_1reason__string.html @@ -151,7 +151,7 @@

                    Detailed Description

                    reason_string property

                    -

                    +

                    Thread Safety

                    • Distinct objects: Safe
                    • diff --git a/doc/api/classasync__mqtt_1_1property_1_1receive__maximum.html b/doc/api/classasync__mqtt_1_1property_1_1receive__maximum.html index 9e7592d92..b57c0fee3 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1receive__maximum.html +++ b/doc/api/classasync__mqtt_1_1property_1_1receive__maximum.html @@ -122,7 +122,7 @@

                      Detailed Description

                      receive_maximum property

                      -

                      +

                      Thread Safety

                      • Distinct objects: Safe
                      • diff --git a/doc/api/classasync__mqtt_1_1property_1_1request__problem__information.html b/doc/api/classasync__mqtt_1_1property_1_1request__problem__information.html index 99afa7722..a0caa0280 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1request__problem__information.html +++ b/doc/api/classasync__mqtt_1_1property_1_1request__problem__information.html @@ -122,7 +122,7 @@

                        Detailed Description

                        request_problem_information property

                        -

                        +

                        Thread Safety

                        • Distinct objects: Safe
                        • diff --git a/doc/api/classasync__mqtt_1_1property_1_1request__response__information.html b/doc/api/classasync__mqtt_1_1property_1_1request__response__information.html index 42f8bfe3a..2b60be1ee 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1request__response__information.html +++ b/doc/api/classasync__mqtt_1_1property_1_1request__response__information.html @@ -122,7 +122,7 @@

                          Detailed Description

                          request_response_information property

                          -

                          +

                          Thread Safety

                          • Distinct objects: Safe
                          • diff --git a/doc/api/classasync__mqtt_1_1property_1_1response__information.html b/doc/api/classasync__mqtt_1_1property_1_1response__information.html index a4c352c25..a5e2f1313 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1response__information.html +++ b/doc/api/classasync__mqtt_1_1property_1_1response__information.html @@ -151,7 +151,7 @@

                            Detailed Description

                            response_information property

                            -

                            +

                            Thread Safety

                            • Distinct objects: Safe
                            • diff --git a/doc/api/classasync__mqtt_1_1property_1_1response__topic.html b/doc/api/classasync__mqtt_1_1property_1_1response__topic.html index 0026e7eb7..b056a61ee 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1response__topic.html +++ b/doc/api/classasync__mqtt_1_1property_1_1response__topic.html @@ -151,7 +151,7 @@

                              Detailed Description

                              response_topic property

                              -

                              +

                              Thread Safety

                              • Distinct objects: Safe
                              • diff --git a/doc/api/classasync__mqtt_1_1property_1_1retain__available.html b/doc/api/classasync__mqtt_1_1property_1_1retain__available.html index 7db95e6a3..f72325949 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1retain__available.html +++ b/doc/api/classasync__mqtt_1_1property_1_1retain__available.html @@ -122,7 +122,7 @@

                                Detailed Description

                                retain_available property

                                -

                                +

                                Thread Safety

                                • Distinct objects: Safe
                                • diff --git a/doc/api/classasync__mqtt_1_1property_1_1server__keep__alive.html b/doc/api/classasync__mqtt_1_1property_1_1server__keep__alive.html index 85c31051b..5d6c0e357 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1server__keep__alive.html +++ b/doc/api/classasync__mqtt_1_1property_1_1server__keep__alive.html @@ -122,7 +122,7 @@

                                  Detailed Description

                                  server_keep_alive property

                                  -

                                  +

                                  Thread Safety

                                  • Distinct objects: Safe
                                  • diff --git a/doc/api/classasync__mqtt_1_1property_1_1server__reference.html b/doc/api/classasync__mqtt_1_1property_1_1server__reference.html index 6adaa54cc..fead56a64 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1server__reference.html +++ b/doc/api/classasync__mqtt_1_1property_1_1server__reference.html @@ -151,7 +151,7 @@

                                    Detailed Description

                                    server_reference property

                                    -

                                    +

                                    Thread Safety

                                    • Distinct objects: Safe
                                    • diff --git a/doc/api/classasync__mqtt_1_1property_1_1session__expiry__interval.html b/doc/api/classasync__mqtt_1_1property_1_1session__expiry__interval.html index f653c7349..2e4c1f588 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1session__expiry__interval.html +++ b/doc/api/classasync__mqtt_1_1property_1_1session__expiry__interval.html @@ -122,7 +122,7 @@

                                      Detailed Description

                                      session_expiry_interval property

                                      -

                                      +

                                      Thread Safety

                                      • Distinct objects: Safe
                                      • diff --git a/doc/api/classasync__mqtt_1_1property_1_1shared__subscription__available.html b/doc/api/classasync__mqtt_1_1property_1_1shared__subscription__available.html index dcb725a37..a99e2188d 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1shared__subscription__available.html +++ b/doc/api/classasync__mqtt_1_1property_1_1shared__subscription__available.html @@ -122,7 +122,7 @@

                                        Detailed Description

                                        shared_subscription_available property

                                        -

                                        +

                                        Thread Safety

                                        • Distinct objects: Safe
                                        • diff --git a/doc/api/classasync__mqtt_1_1property_1_1subscription__identifier.html b/doc/api/classasync__mqtt_1_1property_1_1subscription__identifier.html index 53fa13208..106331a51 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1subscription__identifier.html +++ b/doc/api/classasync__mqtt_1_1property_1_1subscription__identifier.html @@ -119,7 +119,7 @@

                                          Detailed Description

                                          subscription_identifier property

                                          -

                                          +

                                          Thread Safety

                                          • Distinct objects: Safe
                                          • diff --git a/doc/api/classasync__mqtt_1_1property_1_1subscription__identifier__available.html b/doc/api/classasync__mqtt_1_1property_1_1subscription__identifier__available.html index 69031796d..0ccfa985c 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1subscription__identifier__available.html +++ b/doc/api/classasync__mqtt_1_1property_1_1subscription__identifier__available.html @@ -122,7 +122,7 @@

                                            Detailed Description

                                            subscription_identifier_available property

                                            -

                                            +

                                            Thread Safety

                                            • Distinct objects: Safe
                                            • diff --git a/doc/api/classasync__mqtt_1_1property_1_1topic__alias.html b/doc/api/classasync__mqtt_1_1property_1_1topic__alias.html index 7b2b27b87..57138963a 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1topic__alias.html +++ b/doc/api/classasync__mqtt_1_1property_1_1topic__alias.html @@ -122,7 +122,7 @@

                                              Detailed Description

                                              topic_alias property

                                              -

                                              +

                                              Thread Safety

                                              • Distinct objects: Safe
                                              • diff --git a/doc/api/classasync__mqtt_1_1property_1_1topic__alias__maximum.html b/doc/api/classasync__mqtt_1_1property_1_1topic__alias__maximum.html index f1929b57c..e7ee2f0a1 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1topic__alias__maximum.html +++ b/doc/api/classasync__mqtt_1_1property_1_1topic__alias__maximum.html @@ -122,7 +122,7 @@

                                                Detailed Description

                                                topic_alias_maximum property

                                                -

                                                +

                                                Thread Safety

                                                • Distinct objects: Safe
                                                • diff --git a/doc/api/classasync__mqtt_1_1property_1_1user__property.html b/doc/api/classasync__mqtt_1_1property_1_1user__property.html index da60c649c..ed46179ff 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1user__property.html +++ b/doc/api/classasync__mqtt_1_1property_1_1user__property.html @@ -147,7 +147,7 @@

                                                  Detailed Description

                                                  user property

                                                  -

                                                  +

                                                  Thread Safety

                                                  • Distinct objects: Safe
                                                  • diff --git a/doc/api/classasync__mqtt_1_1property_1_1wildcard__subscription__available.html b/doc/api/classasync__mqtt_1_1property_1_1wildcard__subscription__available.html index b83e98a56..c682f9524 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1wildcard__subscription__available.html +++ b/doc/api/classasync__mqtt_1_1property_1_1wildcard__subscription__available.html @@ -122,7 +122,7 @@

                                                    Detailed Description

                                                    wildcard_subscription_available property

                                                    -

                                                    +

                                                    Thread Safety

                                                    • Distinct objects: Safe
                                                    • diff --git a/doc/api/classasync__mqtt_1_1property_1_1will__delay__interval.html b/doc/api/classasync__mqtt_1_1property_1_1will__delay__interval.html index 54ecf7331..86d5f9ce9 100644 --- a/doc/api/classasync__mqtt_1_1property_1_1will__delay__interval.html +++ b/doc/api/classasync__mqtt_1_1property_1_1will__delay__interval.html @@ -122,7 +122,7 @@

                                                      Detailed Description

                                                      will_delay_interval property

                                                      -

                                                      +

                                                      Thread Safety

                                                      • Distinct objects: Safe
                                                      • diff --git a/doc/api/classasync__mqtt_1_1property__variant.html b/doc/api/classasync__mqtt_1_1property__variant.html index fcaa1f7c5..8c074c04f 100644 --- a/doc/api/classasync__mqtt_1_1property__variant.html +++ b/doc/api/classasync__mqtt_1_1property__variant.html @@ -190,7 +190,7 @@

                                                        Detailed Description

                                                        property variant

                                                        -

                                                        +

                                                        Thread Safety

                                                        • Distinct objects: Safe
                                                        • diff --git a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__puback__packet.html b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__puback__packet.html index 16bab56dd..e7798860e 100644 --- a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__puback__packet.html +++ b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__puback__packet.html @@ -159,7 +159,7 @@

                                                          Detailed Description

                                                          template<std::size_t PacketIdBytes>
                                                          class async_mqtt::v3_1_1::basic_puback_packet< PacketIdBytes >

                                                          MQTT PUBACK packet (v3.1.1)

                                                          -

                                                          +

                                                          Thread Safety

                                                          • Distinct objects: Safe
                                                          • diff --git a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__pubcomp__packet.html b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__pubcomp__packet.html index d605c40d0..2e6119e16 100644 --- a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__pubcomp__packet.html +++ b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__pubcomp__packet.html @@ -159,7 +159,7 @@

                                                            Detailed Description

                                                            template<std::size_t PacketIdBytes>
                                                            class async_mqtt::v3_1_1::basic_pubcomp_packet< PacketIdBytes >

                                                            MQTT PUBCOMP packet (v3.1.1)

                                                            -

                                                            +

                                                            Thread Safety

                                                            • Distinct objects: Safe
                                                            • diff --git a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__publish__packet.html b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__publish__packet.html index e2554bc79..9526d4df4 100644 --- a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__publish__packet.html +++ b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__publish__packet.html @@ -185,7 +185,7 @@

                                                              Detailed Description

                                                              template<std::size_t PacketIdBytes>
                                                              class async_mqtt::v3_1_1::basic_publish_packet< PacketIdBytes >

                                                              MQTT PUBLISH packet (v3.1.1)

                                                              -

                                                              +

                                                              Thread Safety

                                                              • Distinct objects: Safe
                                                              • diff --git a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__pubrec__packet.html b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__pubrec__packet.html index 181e16ee1..ea37092ef 100644 --- a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__pubrec__packet.html +++ b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__pubrec__packet.html @@ -159,7 +159,7 @@

                                                                Detailed Description

                                                                template<std::size_t PacketIdBytes>
                                                                class async_mqtt::v3_1_1::basic_pubrec_packet< PacketIdBytes >

                                                                MQTT PUBREC packet (v3.1.1)

                                                                -

                                                                +

                                                                Thread Safety

                                                                • Distinct objects: Safe
                                                                • diff --git a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__pubrel__packet.html b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__pubrel__packet.html index 50eb8b0b3..86bb3cda1 100644 --- a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__pubrel__packet.html +++ b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__pubrel__packet.html @@ -159,7 +159,7 @@

                                                                  Detailed Description

                                                                  template<std::size_t PacketIdBytes>
                                                                  class async_mqtt::v3_1_1::basic_pubrel_packet< PacketIdBytes >

                                                                  MQTT PUBREL packet (v3.1.1)

                                                                  -

                                                                  +

                                                                  Thread Safety

                                                                  • Distinct objects: Safe
                                                                  • diff --git a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__suback__packet.html b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__suback__packet.html index 1d78316f2..01968c3d3 100644 --- a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__suback__packet.html +++ b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__suback__packet.html @@ -162,7 +162,7 @@

                                                                    Detailed Description

                                                                    template<std::size_t PacketIdBytes>
                                                                    class async_mqtt::v3_1_1::basic_suback_packet< PacketIdBytes >

                                                                    MQTT SUBACK packet (v3.1.1)

                                                                    -

                                                                    +

                                                                    Thread Safety

                                                                    • Distinct objects: Safe
                                                                    • diff --git a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__subscribe__packet.html b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__subscribe__packet.html index b22a3ec85..ce2e2f8cf 100644 --- a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__subscribe__packet.html +++ b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__subscribe__packet.html @@ -162,7 +162,7 @@

                                                                      Detailed Description

                                                                      template<std::size_t PacketIdBytes>
                                                                      class async_mqtt::v3_1_1::basic_subscribe_packet< PacketIdBytes >

                                                                      MQTT SUBSCRIBE packet (v3.1.1)

                                                                      -

                                                                      +

                                                                      Thread Safety

                                                                      • Distinct objects: Safe
                                                                      • diff --git a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__unsuback__packet.html b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__unsuback__packet.html index 80c5e02a7..758ad62b6 100644 --- a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__unsuback__packet.html +++ b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__unsuback__packet.html @@ -159,7 +159,7 @@

                                                                        Detailed Description

                                                                        template<std::size_t PacketIdBytes>
                                                                        class async_mqtt::v3_1_1::basic_unsuback_packet< PacketIdBytes >

                                                                        MQTT UNSUBACK packet (v3.1.1)

                                                                        -

                                                                        +

                                                                        Thread Safety

                                                                        • Distinct objects: Safe
                                                                        • diff --git a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__unsubscribe__packet.html b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__unsubscribe__packet.html index c1411fde9..c4716ded4 100644 --- a/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__unsubscribe__packet.html +++ b/doc/api/classasync__mqtt_1_1v3__1__1_1_1basic__unsubscribe__packet.html @@ -162,7 +162,7 @@

                                                                          Detailed Description

                                                                          template<std::size_t PacketIdBytes>
                                                                          class async_mqtt::v3_1_1::basic_unsubscribe_packet< PacketIdBytes >

                                                                          MQTT UNSUBSCRIBE packet (v3.1.1)

                                                                          -

                                                                          +

                                                                          Thread Safety

                                                                          • Distinct objects: Safe
                                                                          • diff --git a/doc/api/classasync__mqtt_1_1v3__1__1_1_1connack__packet.html b/doc/api/classasync__mqtt_1_1v3__1__1_1_1connack__packet.html index b9b089dca..3498e6046 100644 --- a/doc/api/classasync__mqtt_1_1v3__1__1_1_1connack__packet.html +++ b/doc/api/classasync__mqtt_1_1v3__1__1_1_1connack__packet.html @@ -154,7 +154,7 @@

                                                                            Detailed Description

                                                                            MQTT CONNACK packet (v3.1.1)

                                                                            -

                                                                            +

                                                                            Thread Safety

                                                                            • Distinct objects: Safe
                                                                            • diff --git a/doc/api/classasync__mqtt_1_1v3__1__1_1_1connect__packet.html b/doc/api/classasync__mqtt_1_1v3__1__1_1_1connect__packet.html index 09f02947c..eaf6af806 100644 --- a/doc/api/classasync__mqtt_1_1v3__1__1_1_1connect__packet.html +++ b/doc/api/classasync__mqtt_1_1v3__1__1_1_1connect__packet.html @@ -169,7 +169,7 @@

                                                                              Detailed Description

                                                                              MQTT CONNECT packet (v3.1.1)

                                                                              -

                                                                              +

                                                                              Thread Safety

                                                                              • Distinct objects: Safe
                                                                              • diff --git a/doc/api/classasync__mqtt_1_1v3__1__1_1_1disconnect__packet.html b/doc/api/classasync__mqtt_1_1v3__1__1_1_1disconnect__packet.html index 120e470f6..1a55ebc79 100644 --- a/doc/api/classasync__mqtt_1_1v3__1__1_1_1disconnect__packet.html +++ b/doc/api/classasync__mqtt_1_1v3__1__1_1_1disconnect__packet.html @@ -149,7 +149,7 @@

                                                                                Detailed Description

                                                                                MQTT DISCONNECT packet (v3.1.1)

                                                                                -

                                                                                +

                                                                                Thread Safety

                                                                                • Distinct objects: Safe
                                                                                • diff --git a/doc/api/classasync__mqtt_1_1v3__1__1_1_1pingreq__packet.html b/doc/api/classasync__mqtt_1_1v3__1__1_1_1pingreq__packet.html index 6274bbfbc..1547f92cf 100644 --- a/doc/api/classasync__mqtt_1_1v3__1__1_1_1pingreq__packet.html +++ b/doc/api/classasync__mqtt_1_1v3__1__1_1_1pingreq__packet.html @@ -149,7 +149,7 @@

                                                                                  Detailed Description

                                                                                  MQTT PINGREQ packet (v3.1.1)

                                                                                  -

                                                                                  +

                                                                                  Thread Safety

                                                                                  • Distinct objects: Safe
                                                                                  • diff --git a/doc/api/classasync__mqtt_1_1v3__1__1_1_1pingresp__packet.html b/doc/api/classasync__mqtt_1_1v3__1__1_1_1pingresp__packet.html index e66b3b571..fe1fd03be 100644 --- a/doc/api/classasync__mqtt_1_1v3__1__1_1_1pingresp__packet.html +++ b/doc/api/classasync__mqtt_1_1v3__1__1_1_1pingresp__packet.html @@ -149,7 +149,7 @@

                                                                                    Detailed Description

                                                                                    MQTT PINGRESP packet (v3.1.1)

                                                                                    -

                                                                                    +

                                                                                    Thread Safety

                                                                                    • Distinct objects: Safe
                                                                                    • diff --git a/doc/api/classasync__mqtt_1_1v5_1_1auth__packet.html b/doc/api/classasync__mqtt_1_1v5_1_1auth__packet.html index 904406e2c..f75c8c0f0 100644 --- a/doc/api/classasync__mqtt_1_1v5_1_1auth__packet.html +++ b/doc/api/classasync__mqtt_1_1v5_1_1auth__packet.html @@ -165,7 +165,7 @@

                                                                                      Detailed Description

                                                                                      MQTT AUTH packet (v35)

                                                                                      -

                                                                                      +

                                                                                      Thread Safety

                                                                                      • Distinct objects: Safe
                                                                                      • diff --git a/doc/api/classasync__mqtt_1_1v5_1_1basic__puback__packet.html b/doc/api/classasync__mqtt_1_1v5_1_1basic__puback__packet.html index a4c0e48fe..26453d196 100644 --- a/doc/api/classasync__mqtt_1_1v5_1_1basic__puback__packet.html +++ b/doc/api/classasync__mqtt_1_1v5_1_1basic__puback__packet.html @@ -174,7 +174,7 @@

                                                                                        Detailed Description

                                                                                        template<std::size_t PacketIdBytes>
                                                                                        class async_mqtt::v5::basic_puback_packet< PacketIdBytes >

                                                                                        MQTT PUBACK packet (v5)

                                                                                        -

                                                                                        +

                                                                                        Thread Safety

                                                                                        • Distinct objects: Safe
                                                                                        • diff --git a/doc/api/classasync__mqtt_1_1v5_1_1basic__pubcomp__packet.html b/doc/api/classasync__mqtt_1_1v5_1_1basic__pubcomp__packet.html index 105185b8d..54be517e5 100644 --- a/doc/api/classasync__mqtt_1_1v5_1_1basic__pubcomp__packet.html +++ b/doc/api/classasync__mqtt_1_1v5_1_1basic__pubcomp__packet.html @@ -174,7 +174,7 @@

                                                                                          Detailed Description

                                                                                          template<std::size_t PacketIdBytes>
                                                                                          class async_mqtt::v5::basic_pubcomp_packet< PacketIdBytes >

                                                                                          MQTT PUBCOMP packet (v5)

                                                                                          -

                                                                                          +

                                                                                          Thread Safety

                                                                                          • Distinct objects: Safe
                                                                                          • diff --git a/doc/api/classasync__mqtt_1_1v5_1_1basic__publish__packet.html b/doc/api/classasync__mqtt_1_1v5_1_1basic__publish__packet.html index cb7a1d24f..b99a4075e 100644 --- a/doc/api/classasync__mqtt_1_1v5_1_1basic__publish__packet.html +++ b/doc/api/classasync__mqtt_1_1v5_1_1basic__publish__packet.html @@ -207,7 +207,7 @@

                                                                                            Detailed Description

                                                                                            template<std::size_t PacketIdBytes>
                                                                                            class async_mqtt::v5::basic_publish_packet< PacketIdBytes >

                                                                                            MQTT PUBLISH packet (v5)

                                                                                            -

                                                                                            +

                                                                                            Thread Safety

                                                                                            • Distinct objects: Safe
                                                                                            • diff --git a/doc/api/classasync__mqtt_1_1v5_1_1basic__pubrec__packet.html b/doc/api/classasync__mqtt_1_1v5_1_1basic__pubrec__packet.html index dfc024051..7023944c5 100644 --- a/doc/api/classasync__mqtt_1_1v5_1_1basic__pubrec__packet.html +++ b/doc/api/classasync__mqtt_1_1v5_1_1basic__pubrec__packet.html @@ -174,7 +174,7 @@

                                                                                              Detailed Description

                                                                                              template<std::size_t PacketIdBytes>
                                                                                              class async_mqtt::v5::basic_pubrec_packet< PacketIdBytes >

                                                                                              MQTT PUBREC packet (v5)

                                                                                              -

                                                                                              +

                                                                                              Thread Safety

                                                                                              • Distinct objects: Safe
                                                                                              • diff --git a/doc/api/classasync__mqtt_1_1v5_1_1basic__pubrel__packet.html b/doc/api/classasync__mqtt_1_1v5_1_1basic__pubrel__packet.html index 3dedd4134..43825f4eb 100644 --- a/doc/api/classasync__mqtt_1_1v5_1_1basic__pubrel__packet.html +++ b/doc/api/classasync__mqtt_1_1v5_1_1basic__pubrel__packet.html @@ -174,7 +174,7 @@

                                                                                                Detailed Description

                                                                                                template<std::size_t PacketIdBytes>
                                                                                                class async_mqtt::v5::basic_pubrel_packet< PacketIdBytes >

                                                                                                MQTT PUBREL packet (v5)

                                                                                                -

                                                                                                +

                                                                                                Thread Safety

                                                                                                • Distinct objects: Safe
                                                                                                • diff --git a/doc/api/classasync__mqtt_1_1v5_1_1basic__suback__packet.html b/doc/api/classasync__mqtt_1_1v5_1_1basic__suback__packet.html index 20ba6a5f5..5defbb83c 100644 --- a/doc/api/classasync__mqtt_1_1v5_1_1basic__suback__packet.html +++ b/doc/api/classasync__mqtt_1_1v5_1_1basic__suback__packet.html @@ -165,7 +165,7 @@

                                                                                                  Detailed Description

                                                                                                  template<std::size_t PacketIdBytes>
                                                                                                  class async_mqtt::v5::basic_suback_packet< PacketIdBytes >

                                                                                                  MQTT SUBACK packet (v5)

                                                                                                  -

                                                                                                  +

                                                                                                  Thread Safety

                                                                                                  • Distinct objects: Safe
                                                                                                  • diff --git a/doc/api/classasync__mqtt_1_1v5_1_1basic__subscribe__packet.html b/doc/api/classasync__mqtt_1_1v5_1_1basic__subscribe__packet.html index d5db2014a..b1774de27 100644 --- a/doc/api/classasync__mqtt_1_1v5_1_1basic__subscribe__packet.html +++ b/doc/api/classasync__mqtt_1_1v5_1_1basic__subscribe__packet.html @@ -165,7 +165,7 @@

                                                                                                    Detailed Description

                                                                                                    template<std::size_t PacketIdBytes>
                                                                                                    class async_mqtt::v5::basic_subscribe_packet< PacketIdBytes >

                                                                                                    MQTT SUBSCRIBE packet (v5)

                                                                                                    -

                                                                                                    +

                                                                                                    Thread Safety

                                                                                                    • Distinct objects: Safe
                                                                                                    • diff --git a/doc/api/classasync__mqtt_1_1v5_1_1basic__unsuback__packet.html b/doc/api/classasync__mqtt_1_1v5_1_1basic__unsuback__packet.html index ed590d5a8..0f98841dc 100644 --- a/doc/api/classasync__mqtt_1_1v5_1_1basic__unsuback__packet.html +++ b/doc/api/classasync__mqtt_1_1v5_1_1basic__unsuback__packet.html @@ -165,7 +165,7 @@

                                                                                                      Detailed Description

                                                                                                      template<std::size_t PacketIdBytes>
                                                                                                      class async_mqtt::v5::basic_unsuback_packet< PacketIdBytes >

                                                                                                      MQTT UNSUBACK packet (v5)

                                                                                                      -

                                                                                                      +

                                                                                                      Thread Safety

                                                                                                      • Distinct objects: Safe
                                                                                                      • diff --git a/doc/api/classasync__mqtt_1_1v5_1_1basic__unsubscribe__packet.html b/doc/api/classasync__mqtt_1_1v5_1_1basic__unsubscribe__packet.html index e56467981..086ee7ae7 100644 --- a/doc/api/classasync__mqtt_1_1v5_1_1basic__unsubscribe__packet.html +++ b/doc/api/classasync__mqtt_1_1v5_1_1basic__unsubscribe__packet.html @@ -165,7 +165,7 @@

                                                                                                        Detailed Description

                                                                                                        template<std::size_t PacketIdBytes>
                                                                                                        class async_mqtt::v5::basic_unsubscribe_packet< PacketIdBytes >

                                                                                                        MQTT UNSUBSCRIBE packet (v5)

                                                                                                        -

                                                                                                        +

                                                                                                        Thread Safety

                                                                                                        • Distinct objects: Safe
                                                                                                        • diff --git a/doc/api/classasync__mqtt_1_1v5_1_1connack__packet.html b/doc/api/classasync__mqtt_1_1v5_1_1connack__packet.html index a933ed773..3da19d0f1 100644 --- a/doc/api/classasync__mqtt_1_1v5_1_1connack__packet.html +++ b/doc/api/classasync__mqtt_1_1v5_1_1connack__packet.html @@ -157,7 +157,7 @@

                                                                                                          Detailed Description

                                                                                                          MQTT CONNACK packet (v5)

                                                                                                          -

                                                                                                          +

                                                                                                          Thread Safety

                                                                                                          • Distinct objects: Safe
                                                                                                          • diff --git a/doc/api/classasync__mqtt_1_1v5_1_1connect__packet.html b/doc/api/classasync__mqtt_1_1v5_1_1connect__packet.html index b3ad5a3c6..249d6dae5 100644 --- a/doc/api/classasync__mqtt_1_1v5_1_1connect__packet.html +++ b/doc/api/classasync__mqtt_1_1v5_1_1connect__packet.html @@ -172,7 +172,7 @@

                                                                                                            Detailed Description

                                                                                                            MQTT CONNECT packet (v5)

                                                                                                            -

                                                                                                            +

                                                                                                            Thread Safety

                                                                                                            • Distinct objects: Safe
                                                                                                            • diff --git a/doc/api/classasync__mqtt_1_1v5_1_1disconnect__packet.html b/doc/api/classasync__mqtt_1_1v5_1_1disconnect__packet.html index c11fb7719..8c922e9e6 100644 --- a/doc/api/classasync__mqtt_1_1v5_1_1disconnect__packet.html +++ b/doc/api/classasync__mqtt_1_1v5_1_1disconnect__packet.html @@ -165,7 +165,7 @@

                                                                                                              Detailed Description

                                                                                                              MQTT DISCONNECT packet (v5)

                                                                                                              -

                                                                                                              +

                                                                                                              Thread Safety

                                                                                                              • Distinct objects: Safe
                                                                                                              • diff --git a/doc/api/classasync__mqtt_1_1v5_1_1pingreq__packet.html b/doc/api/classasync__mqtt_1_1v5_1_1pingreq__packet.html index 077c28991..292c85f30 100644 --- a/doc/api/classasync__mqtt_1_1v5_1_1pingreq__packet.html +++ b/doc/api/classasync__mqtt_1_1v5_1_1pingreq__packet.html @@ -149,7 +149,7 @@

                                                                                                                Detailed Description

                                                                                                                MQTT PINGREQ packet (v5)

                                                                                                                -

                                                                                                                +

                                                                                                                Thread Safety

                                                                                                                • Distinct objects: Safe
                                                                                                                • diff --git a/doc/api/classasync__mqtt_1_1v5_1_1pingresp__packet.html b/doc/api/classasync__mqtt_1_1v5_1_1pingresp__packet.html index 46a82fbe5..2ca018660 100644 --- a/doc/api/classasync__mqtt_1_1v5_1_1pingresp__packet.html +++ b/doc/api/classasync__mqtt_1_1v5_1_1pingresp__packet.html @@ -149,7 +149,7 @@

                                                                                                                  Detailed Description

                                                                                                                  MQTT PINGRESP packet (v5)

                                                                                                                  -

                                                                                                                  +

                                                                                                                  Thread Safety

                                                                                                                  • Distinct objects: Safe
                                                                                                                  • diff --git a/doc/api/classasync__mqtt_1_1will.html b/doc/api/classasync__mqtt_1_1will.html index bafd02942..32c1901fc 100644 --- a/doc/api/classasync__mqtt_1_1will.html +++ b/doc/api/classasync__mqtt_1_1will.html @@ -158,7 +158,7 @@

                                                                                                                    Detailed Description

                                                                                                                    MQTT will message.

                                                                                                                    -

                                                                                                                    +

                                                                                                                    Thread Safety

                                                                                                                    • Distinct objects: Safe
                                                                                                                    • diff --git a/doc/api/client_8hpp_source.html b/doc/api/client_8hpp_source.html index 676f2fe21..94a381dbd 100644 --- a/doc/api/client_8hpp_source.html +++ b/doc/api/client_8hpp_source.html @@ -455,10 +455,10 @@
                                                                                                                      860#include <async_mqtt/impl/client_release_packet_id.hpp>
                                                                                                                      861
                                                                                                                      862#endif // ASYNC_MQTT_CLIENT_HPP
                                                                                                                      -
                                                                                                                      MQTT endpoint corresponding to the connection.
                                                                                                                      Definition endpoint_fwd.hpp:17
                                                                                                                      -
                                                                                                                      typename next_layer_type::executor_type executor_type
                                                                                                                      executor_type of the given NextLayer
                                                                                                                      Definition endpoint.hpp:87
                                                                                                                      -
                                                                                                                      typename stream_type::lowest_layer_type lowest_layer_type
                                                                                                                      lowest_layer_type of the given NextLayer
                                                                                                                      Definition endpoint.hpp:84
                                                                                                                      -
                                                                                                                      typename stream_type::next_layer_type next_layer_type
                                                                                                                      type of the given NextLayer
                                                                                                                      Definition endpoint.hpp:81
                                                                                                                      +
                                                                                                                      MQTT endpoint corresponding to the connection.
                                                                                                                      Definition endpoint_fwd.hpp:28
                                                                                                                      +
                                                                                                                      typename next_layer_type::executor_type executor_type
                                                                                                                      executor_type of the given NextLayer
                                                                                                                      Definition endpoint.hpp:77
                                                                                                                      +
                                                                                                                      typename stream_type::lowest_layer_type lowest_layer_type
                                                                                                                      lowest_layer_type of the given NextLayer
                                                                                                                      Definition endpoint.hpp:74
                                                                                                                      +
                                                                                                                      typename stream_type::next_layer_type next_layer_type
                                                                                                                      type of the given NextLayer
                                                                                                                      Definition endpoint.hpp:71
                                                                                                                      MQTT client for casual usecases.
                                                                                                                      Definition client.hpp:81
                                                                                                                      client(this_type const &)=delete
                                                                                                                      copy constructor deleted
                                                                                                                      void set_auto_replace_topic_alias_send(bool val)
                                                                                                                      auto replace topic with corresponding topic alias on send PUBLISH packet. Registering topic alias nee...
                                                                                                                      diff --git a/doc/api/endpoint_8hpp_source.html b/doc/api/endpoint_8hpp_source.html index 36d21f0dc..7ff308b30 100644 --- a/doc/api/endpoint_8hpp_source.html +++ b/doc/api/endpoint_8hpp_source.html @@ -112,547 +112,545 @@
                                                                                                                      10#include <set>
                                                                                                                      11#include <deque>
                                                                                                                      12
                                                                                                                      -
                                                                                                                      13#include <async_mqtt/error.hpp>
                                                                                                                      -
                                                                                                                      14#include <async_mqtt/packet/packet_variant.hpp>
                                                                                                                      -
                                                                                                                      15#include <async_mqtt/util/value_allocator.hpp>
                                                                                                                      -
                                                                                                                      16#include <async_mqtt/util/make_shared_helper.hpp>
                                                                                                                      -
                                                                                                                      17#include <async_mqtt/util/stream.hpp>
                                                                                                                      -
                                                                                                                      18#include <async_mqtt/util/store.hpp>
                                                                                                                      -
                                                                                                                      19#include <async_mqtt/role.hpp>
                                                                                                                      -
                                                                                                                      20#include <async_mqtt/util/log.hpp>
                                                                                                                      -
                                                                                                                      21#include <async_mqtt/util/topic_alias_send.hpp>
                                                                                                                      -
                                                                                                                      22#include <async_mqtt/util/topic_alias_recv.hpp>
                                                                                                                      -
                                                                                                                      23#include <async_mqtt/util/packet_id_manager.hpp>
                                                                                                                      -
                                                                                                                      24#include <async_mqtt/protocol_version.hpp>
                                                                                                                      -
                                                                                                                      25#include <async_mqtt/packet/packet_traits.hpp>
                                                                                                                      -
                                                                                                                      26
                                                                                                                      -
                                                                                                                      36namespace async_mqtt {
                                                                                                                      -
                                                                                                                      37
                                                                                                                      -
                                                                                                                      -
                                                                                                                      42enum class filter {
                                                                                                                      -
                                                                                                                      43 match,
                                                                                                                      -
                                                                                                                      44 except
                                                                                                                      -
                                                                                                                      45};
                                                                                                                      +
                                                                                                                      13#include <async_mqtt/endpoint_fwd.hpp>
                                                                                                                      +
                                                                                                                      14#include <async_mqtt/error.hpp>
                                                                                                                      +
                                                                                                                      15#include <async_mqtt/packet/packet_variant.hpp>
                                                                                                                      +
                                                                                                                      16#include <async_mqtt/util/value_allocator.hpp>
                                                                                                                      +
                                                                                                                      17#include <async_mqtt/util/make_shared_helper.hpp>
                                                                                                                      +
                                                                                                                      18#include <async_mqtt/util/stream.hpp>
                                                                                                                      +
                                                                                                                      19#include <async_mqtt/util/store.hpp>
                                                                                                                      +
                                                                                                                      20#include <async_mqtt/role.hpp>
                                                                                                                      +
                                                                                                                      21#include <async_mqtt/util/log.hpp>
                                                                                                                      +
                                                                                                                      22#include <async_mqtt/util/topic_alias_send.hpp>
                                                                                                                      +
                                                                                                                      23#include <async_mqtt/util/topic_alias_recv.hpp>
                                                                                                                      +
                                                                                                                      24#include <async_mqtt/util/packet_id_manager.hpp>
                                                                                                                      +
                                                                                                                      25#include <async_mqtt/protocol_version.hpp>
                                                                                                                      +
                                                                                                                      26#include <async_mqtt/packet/packet_traits.hpp>
                                                                                                                      +
                                                                                                                      27
                                                                                                                      +
                                                                                                                      37namespace async_mqtt {
                                                                                                                      +
                                                                                                                      38
                                                                                                                      +
                                                                                                                      +
                                                                                                                      43enum class filter {
                                                                                                                      +
                                                                                                                      44 match,
                                                                                                                      +
                                                                                                                      45 except
                                                                                                                      +
                                                                                                                      46};
                                                                                                                      -
                                                                                                                      46
                                                                                                                      -
                                                                                                                      58template <role Role, std::size_t PacketIdBytes, typename NextLayer>
                                                                                                                      -
                                                                                                                      59class basic_endpoint : public std::enable_shared_from_this<basic_endpoint<Role, PacketIdBytes, NextLayer>>{
                                                                                                                      -
                                                                                                                      60 enum class connection_status {
                                                                                                                      -
                                                                                                                      61 connecting,
                                                                                                                      -
                                                                                                                      62 connected,
                                                                                                                      -
                                                                                                                      63 disconnecting,
                                                                                                                      -
                                                                                                                      64 closing,
                                                                                                                      -
                                                                                                                      65 closed
                                                                                                                      -
                                                                                                                      66 };
                                                                                                                      -
                                                                                                                      67
                                                                                                                      - -
                                                                                                                      69 using this_type_sp = std::shared_ptr<this_type>;
                                                                                                                      -
                                                                                                                      70 using this_type_wp = std::weak_ptr<this_type>;
                                                                                                                      -
                                                                                                                      71 using stream_type =
                                                                                                                      -
                                                                                                                      72 stream<
                                                                                                                      -
                                                                                                                      73 NextLayer
                                                                                                                      -
                                                                                                                      74 >;
                                                                                                                      +
                                                                                                                      47
                                                                                                                      +
                                                                                                                      48template <role Role, std::size_t PacketIdBytes, typename NextLayer>
                                                                                                                      +
                                                                                                                      49class basic_endpoint : public std::enable_shared_from_this<basic_endpoint<Role, PacketIdBytes, NextLayer>>{
                                                                                                                      +
                                                                                                                      50 enum class connection_status {
                                                                                                                      +
                                                                                                                      51 connecting,
                                                                                                                      +
                                                                                                                      52 connected,
                                                                                                                      +
                                                                                                                      53 disconnecting,
                                                                                                                      +
                                                                                                                      54 closing,
                                                                                                                      +
                                                                                                                      55 closed
                                                                                                                      +
                                                                                                                      56 };
                                                                                                                      +
                                                                                                                      57
                                                                                                                      + +
                                                                                                                      59 using this_type_sp = std::shared_ptr<this_type>;
                                                                                                                      +
                                                                                                                      60 using this_type_wp = std::weak_ptr<this_type>;
                                                                                                                      +
                                                                                                                      61 using stream_type =
                                                                                                                      +
                                                                                                                      62 stream<
                                                                                                                      +
                                                                                                                      63 NextLayer
                                                                                                                      +
                                                                                                                      64 >;
                                                                                                                      +
                                                                                                                      65
                                                                                                                      +
                                                                                                                      66 template <typename T>
                                                                                                                      +
                                                                                                                      67 friend class make_shared_helper;
                                                                                                                      +
                                                                                                                      68
                                                                                                                      +
                                                                                                                      69public:
                                                                                                                      +
                                                                                                                      71 using next_layer_type = typename stream_type::next_layer_type;
                                                                                                                      +
                                                                                                                      72
                                                                                                                      +
                                                                                                                      74 using lowest_layer_type = typename stream_type::lowest_layer_type;
                                                                                                                      75
                                                                                                                      -
                                                                                                                      76 template <typename T>
                                                                                                                      -
                                                                                                                      77 friend class make_shared_helper;
                                                                                                                      +
                                                                                                                      77 using executor_type = typename next_layer_type::executor_type;
                                                                                                                      78
                                                                                                                      -
                                                                                                                      79public:
                                                                                                                      -
                                                                                                                      81 using next_layer_type = typename stream_type::next_layer_type;
                                                                                                                      -
                                                                                                                      82
                                                                                                                      -
                                                                                                                      84 using lowest_layer_type = typename stream_type::lowest_layer_type;
                                                                                                                      -
                                                                                                                      85
                                                                                                                      -
                                                                                                                      87 using executor_type = typename next_layer_type::executor_type;
                                                                                                                      -
                                                                                                                      88
                                                                                                                      - -
                                                                                                                      91
                                                                                                                      -
                                                                                                                      105 template <typename... Args>
                                                                                                                      -
                                                                                                                      -
                                                                                                                      106 static std::shared_ptr<this_type> create(
                                                                                                                      - -
                                                                                                                      108 Args&&... args
                                                                                                                      -
                                                                                                                      109 ) {
                                                                                                                      -
                                                                                                                      110 return make_shared_helper<this_type>::make_shared(ver, std::forward<Args>(args)...);
                                                                                                                      -
                                                                                                                      111 }
                                                                                                                      + +
                                                                                                                      81
                                                                                                                      +
                                                                                                                      95 template <typename... Args>
                                                                                                                      +
                                                                                                                      +
                                                                                                                      96 static std::shared_ptr<this_type> create(
                                                                                                                      + +
                                                                                                                      98 Args&&... args
                                                                                                                      +
                                                                                                                      99 ) {
                                                                                                                      +
                                                                                                                      100 return make_shared_helper<this_type>::make_shared(ver, std::forward<Args>(args)...);
                                                                                                                      +
                                                                                                                      101 }
                                                                                                                      +
                                                                                                                      102
                                                                                                                      + +
                                                                                                                      107
                                                                                                                      +
                                                                                                                      111 basic_endpoint(this_type const&) = delete;
                                                                                                                      112
                                                                                                                      - +
                                                                                                                      117
                                                                                                                      -
                                                                                                                      121 basic_endpoint(this_type const&) = delete;
                                                                                                                      +
                                                                                                                      121 this_type& operator=(this_type const&) = delete;
                                                                                                                      122
                                                                                                                      - +
                                                                                                                      127
                                                                                                                      -
                                                                                                                      131 this_type& operator=(this_type const&) = delete;
                                                                                                                      -
                                                                                                                      132
                                                                                                                      - -
                                                                                                                      137
                                                                                                                      -
                                                                                                                      -
                                                                                                                      142 as::any_io_executor get_executor() const {
                                                                                                                      -
                                                                                                                      143 return stream_->get_executor();
                                                                                                                      -
                                                                                                                      144 }
                                                                                                                      +
                                                                                                                      +
                                                                                                                      132 as::any_io_executor get_executor() const {
                                                                                                                      +
                                                                                                                      133 return stream_->get_executor();
                                                                                                                      +
                                                                                                                      134 }
                                                                                                                      -
                                                                                                                      145
                                                                                                                      -
                                                                                                                      - -
                                                                                                                      151 return stream_->next_layer();
                                                                                                                      -
                                                                                                                      152 }
                                                                                                                      +
                                                                                                                      135
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      141 return stream_->next_layer();
                                                                                                                      +
                                                                                                                      142 }
                                                                                                                      -
                                                                                                                      - -
                                                                                                                      158 return stream_->next_layer();
                                                                                                                      -
                                                                                                                      159 }
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      148 return stream_->next_layer();
                                                                                                                      +
                                                                                                                      149 }
                                                                                                                      -
                                                                                                                      160
                                                                                                                      -
                                                                                                                      - -
                                                                                                                      166 return stream_->lowest_layer();
                                                                                                                      -
                                                                                                                      167 }
                                                                                                                      +
                                                                                                                      150
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      156 return stream_->lowest_layer();
                                                                                                                      +
                                                                                                                      157 }
                                                                                                                      -
                                                                                                                      - -
                                                                                                                      173 return stream_->lowest_layer();
                                                                                                                      -
                                                                                                                      174 }
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      163 return stream_->lowest_layer();
                                                                                                                      +
                                                                                                                      164 }
                                                                                                                      -
                                                                                                                      175
                                                                                                                      -
                                                                                                                      -
                                                                                                                      181 void set_auto_pub_response(bool val) {
                                                                                                                      -
                                                                                                                      182 ASYNC_MQTT_LOG("mqtt_api", info)
                                                                                                                      -
                                                                                                                      183 << ASYNC_MQTT_ADD_VALUE(address, this)
                                                                                                                      -
                                                                                                                      184 << "set_auto_pub_response val:" << val;
                                                                                                                      -
                                                                                                                      185 auto_pub_response_ = val;
                                                                                                                      -
                                                                                                                      186 }
                                                                                                                      +
                                                                                                                      165
                                                                                                                      +
                                                                                                                      +
                                                                                                                      171 void set_auto_pub_response(bool val) {
                                                                                                                      +
                                                                                                                      172 ASYNC_MQTT_LOG("mqtt_api", info)
                                                                                                                      +
                                                                                                                      173 << ASYNC_MQTT_ADD_VALUE(address, this)
                                                                                                                      +
                                                                                                                      174 << "set_auto_pub_response val:" << val;
                                                                                                                      +
                                                                                                                      175 auto_pub_response_ = val;
                                                                                                                      +
                                                                                                                      176 }
                                                                                                                      -
                                                                                                                      187
                                                                                                                      -
                                                                                                                      -
                                                                                                                      193 void set_auto_ping_response(bool val) {
                                                                                                                      -
                                                                                                                      194 ASYNC_MQTT_LOG("mqtt_api", info)
                                                                                                                      -
                                                                                                                      195 << ASYNC_MQTT_ADD_VALUE(address, this)
                                                                                                                      -
                                                                                                                      196 << "set_auto_ping_response val:" << val;
                                                                                                                      -
                                                                                                                      197 auto_ping_response_ = val;
                                                                                                                      -
                                                                                                                      198 }
                                                                                                                      +
                                                                                                                      177
                                                                                                                      +
                                                                                                                      +
                                                                                                                      183 void set_auto_ping_response(bool val) {
                                                                                                                      +
                                                                                                                      184 ASYNC_MQTT_LOG("mqtt_api", info)
                                                                                                                      +
                                                                                                                      185 << ASYNC_MQTT_ADD_VALUE(address, this)
                                                                                                                      +
                                                                                                                      186 << "set_auto_ping_response val:" << val;
                                                                                                                      +
                                                                                                                      187 auto_ping_response_ = val;
                                                                                                                      +
                                                                                                                      188 }
                                                                                                                      -
                                                                                                                      199
                                                                                                                      -
                                                                                                                      - -
                                                                                                                      208 ASYNC_MQTT_LOG("mqtt_api", info)
                                                                                                                      -
                                                                                                                      209 << ASYNC_MQTT_ADD_VALUE(address, this)
                                                                                                                      -
                                                                                                                      210 << "set_auto_map_topic_alias_send val:" << val;
                                                                                                                      -
                                                                                                                      211 auto_map_topic_alias_send_ = val;
                                                                                                                      -
                                                                                                                      212 }
                                                                                                                      +
                                                                                                                      189
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      198 ASYNC_MQTT_LOG("mqtt_api", info)
                                                                                                                      +
                                                                                                                      199 << ASYNC_MQTT_ADD_VALUE(address, this)
                                                                                                                      +
                                                                                                                      200 << "set_auto_map_topic_alias_send val:" << val;
                                                                                                                      +
                                                                                                                      201 auto_map_topic_alias_send_ = val;
                                                                                                                      +
                                                                                                                      202 }
                                                                                                                      -
                                                                                                                      213
                                                                                                                      -
                                                                                                                      - -
                                                                                                                      222 ASYNC_MQTT_LOG("mqtt_api", info)
                                                                                                                      -
                                                                                                                      223 << ASYNC_MQTT_ADD_VALUE(address, this)
                                                                                                                      -
                                                                                                                      224 << "set_auto_replace_topic_alias_send val:" << val;
                                                                                                                      -
                                                                                                                      225 auto_replace_topic_alias_send_ = val;
                                                                                                                      -
                                                                                                                      226 }
                                                                                                                      +
                                                                                                                      203
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      212 ASYNC_MQTT_LOG("mqtt_api", info)
                                                                                                                      +
                                                                                                                      213 << ASYNC_MQTT_ADD_VALUE(address, this)
                                                                                                                      +
                                                                                                                      214 << "set_auto_replace_topic_alias_send val:" << val;
                                                                                                                      +
                                                                                                                      215 auto_replace_topic_alias_send_ = val;
                                                                                                                      +
                                                                                                                      216 }
                                                                                                                      -
                                                                                                                      227
                                                                                                                      -
                                                                                                                      -
                                                                                                                      237 void set_pingresp_recv_timeout_ms(std::size_t ms) {
                                                                                                                      -
                                                                                                                      238 if (ms == 0) {
                                                                                                                      -
                                                                                                                      239 pingresp_recv_timeout_ms_ = std::nullopt;
                                                                                                                      -
                                                                                                                      240 }
                                                                                                                      -
                                                                                                                      241 else {
                                                                                                                      -
                                                                                                                      242 pingresp_recv_timeout_ms_.emplace(ms);
                                                                                                                      -
                                                                                                                      243 }
                                                                                                                      -
                                                                                                                      244 }
                                                                                                                      +
                                                                                                                      217
                                                                                                                      +
                                                                                                                      +
                                                                                                                      227 void set_pingresp_recv_timeout_ms(std::size_t ms) {
                                                                                                                      +
                                                                                                                      228 if (ms == 0) {
                                                                                                                      +
                                                                                                                      229 pingresp_recv_timeout_ms_ = std::nullopt;
                                                                                                                      +
                                                                                                                      230 }
                                                                                                                      +
                                                                                                                      231 else {
                                                                                                                      +
                                                                                                                      232 pingresp_recv_timeout_ms_.emplace(ms);
                                                                                                                      +
                                                                                                                      233 }
                                                                                                                      +
                                                                                                                      234 }
                                                                                                                      -
                                                                                                                      245
                                                                                                                      -
                                                                                                                      -
                                                                                                                      255 void set_bulk_write(bool val) {
                                                                                                                      -
                                                                                                                      256 stream_->set_bulk_write(val);
                                                                                                                      -
                                                                                                                      257 }
                                                                                                                      +
                                                                                                                      235
                                                                                                                      +
                                                                                                                      +
                                                                                                                      245 void set_bulk_write(bool val) {
                                                                                                                      +
                                                                                                                      246 stream_->set_bulk_write(val);
                                                                                                                      +
                                                                                                                      247 }
                                                                                                                      -
                                                                                                                      258
                                                                                                                      -
                                                                                                                      -
                                                                                                                      269 void set_bulk_read_buffer_size(std::size_t val) {
                                                                                                                      -
                                                                                                                      270 stream_->set_bulk_read_buffer_size(val);
                                                                                                                      -
                                                                                                                      271 }
                                                                                                                      +
                                                                                                                      248
                                                                                                                      +
                                                                                                                      +
                                                                                                                      259 void set_bulk_read_buffer_size(std::size_t val) {
                                                                                                                      +
                                                                                                                      260 stream_->set_bulk_read_buffer_size(val);
                                                                                                                      +
                                                                                                                      261 }
                                                                                                                      -
                                                                                                                      272
                                                                                                                      -
                                                                                                                      273
                                                                                                                      -
                                                                                                                      274 // async functions
                                                                                                                      -
                                                                                                                      275
                                                                                                                      -
                                                                                                                      291 template <
                                                                                                                      -
                                                                                                                      292 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      -
                                                                                                                      293 >
                                                                                                                      -
                                                                                                                      294#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      -
                                                                                                                      295 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      -
                                                                                                                      296 CompletionToken,
                                                                                                                      - -
                                                                                                                      298 )
                                                                                                                      -
                                                                                                                      299#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      - -
                                                                                                                      301 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      -
                                                                                                                      302 );
                                                                                                                      -
                                                                                                                      303
                                                                                                                      -
                                                                                                                      319 template <
                                                                                                                      -
                                                                                                                      320 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      -
                                                                                                                      321 >
                                                                                                                      -
                                                                                                                      322#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      -
                                                                                                                      323 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      -
                                                                                                                      324 CompletionToken,
                                                                                                                      - -
                                                                                                                      326 )
                                                                                                                      -
                                                                                                                      327#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      - -
                                                                                                                      329 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      -
                                                                                                                      330 );
                                                                                                                      -
                                                                                                                      331
                                                                                                                      -
                                                                                                                      348 template <
                                                                                                                      -
                                                                                                                      349 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      -
                                                                                                                      350 >
                                                                                                                      -
                                                                                                                      351#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      -
                                                                                                                      352 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      -
                                                                                                                      353 CompletionToken,
                                                                                                                      -
                                                                                                                      354 void(error_code)
                                                                                                                      -
                                                                                                                      355 )
                                                                                                                      -
                                                                                                                      356#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      - - -
                                                                                                                      359 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      -
                                                                                                                      360 );
                                                                                                                      -
                                                                                                                      361
                                                                                                                      -
                                                                                                                      377 template <
                                                                                                                      -
                                                                                                                      378 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      -
                                                                                                                      379 >
                                                                                                                      -
                                                                                                                      380#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      -
                                                                                                                      381 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      -
                                                                                                                      382 CompletionToken,
                                                                                                                      -
                                                                                                                      383 void()
                                                                                                                      -
                                                                                                                      384 )
                                                                                                                      -
                                                                                                                      385#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      - - -
                                                                                                                      388 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      -
                                                                                                                      389 );
                                                                                                                      -
                                                                                                                      390
                                                                                                                      -
                                                                                                                      408 template <
                                                                                                                      -
                                                                                                                      409 typename Packet,
                                                                                                                      -
                                                                                                                      410 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      -
                                                                                                                      411 >
                                                                                                                      -
                                                                                                                      412#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      -
                                                                                                                      413 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      -
                                                                                                                      414 CompletionToken,
                                                                                                                      -
                                                                                                                      415 void(error_code)
                                                                                                                      -
                                                                                                                      416 )
                                                                                                                      -
                                                                                                                      417#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      - -
                                                                                                                      419 Packet packet,
                                                                                                                      -
                                                                                                                      420 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      -
                                                                                                                      421 );
                                                                                                                      -
                                                                                                                      422
                                                                                                                      -
                                                                                                                      438 template <
                                                                                                                      -
                                                                                                                      439 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      -
                                                                                                                      440 >
                                                                                                                      -
                                                                                                                      441#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      -
                                                                                                                      442 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      -
                                                                                                                      443 CompletionToken,
                                                                                                                      - -
                                                                                                                      445 )
                                                                                                                      -
                                                                                                                      446#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      - -
                                                                                                                      448 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      -
                                                                                                                      449 );
                                                                                                                      -
                                                                                                                      450
                                                                                                                      -
                                                                                                                      469 template <
                                                                                                                      -
                                                                                                                      470 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      -
                                                                                                                      471 >
                                                                                                                      -
                                                                                                                      472#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      -
                                                                                                                      473 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      -
                                                                                                                      474 CompletionToken,
                                                                                                                      - -
                                                                                                                      476 )
                                                                                                                      -
                                                                                                                      477#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      - -
                                                                                                                      479 std::set<control_packet_type> types,
                                                                                                                      -
                                                                                                                      480 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      -
                                                                                                                      481 );
                                                                                                                      -
                                                                                                                      482
                                                                                                                      -
                                                                                                                      502 template <
                                                                                                                      -
                                                                                                                      503 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      -
                                                                                                                      504 >
                                                                                                                      -
                                                                                                                      505#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      -
                                                                                                                      506 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      -
                                                                                                                      507 CompletionToken,
                                                                                                                      - -
                                                                                                                      509 )
                                                                                                                      -
                                                                                                                      510#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      - -
                                                                                                                      512 filter fil,
                                                                                                                      -
                                                                                                                      513 std::set<control_packet_type> types,
                                                                                                                      -
                                                                                                                      514 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      -
                                                                                                                      515 );
                                                                                                                      -
                                                                                                                      516
                                                                                                                      -
                                                                                                                      530 template <
                                                                                                                      -
                                                                                                                      531 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      -
                                                                                                                      532 >
                                                                                                                      -
                                                                                                                      533#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      -
                                                                                                                      534 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      -
                                                                                                                      535 CompletionToken,
                                                                                                                      -
                                                                                                                      536 void()
                                                                                                                      -
                                                                                                                      537 )
                                                                                                                      -
                                                                                                                      538#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      - -
                                                                                                                      540 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      -
                                                                                                                      541 );
                                                                                                                      -
                                                                                                                      542
                                                                                                                      -
                                                                                                                      559 template <
                                                                                                                      -
                                                                                                                      560 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      -
                                                                                                                      561 >
                                                                                                                      -
                                                                                                                      562#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      -
                                                                                                                      563 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      -
                                                                                                                      564 CompletionToken,
                                                                                                                      -
                                                                                                                      565 void()
                                                                                                                      -
                                                                                                                      566 )
                                                                                                                      -
                                                                                                                      567#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      - - -
                                                                                                                      570 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      -
                                                                                                                      571 );
                                                                                                                      -
                                                                                                                      572
                                                                                                                      -
                                                                                                                      592 template <
                                                                                                                      -
                                                                                                                      593 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      -
                                                                                                                      594 >
                                                                                                                      -
                                                                                                                      595#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      -
                                                                                                                      596 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      -
                                                                                                                      597 CompletionToken,
                                                                                                                      - -
                                                                                                                      599 )
                                                                                                                      -
                                                                                                                      600#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      - -
                                                                                                                      602 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      -
                                                                                                                      603 ) const;
                                                                                                                      -
                                                                                                                      604
                                                                                                                      -
                                                                                                                      621 template <
                                                                                                                      -
                                                                                                                      622 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      -
                                                                                                                      623 >
                                                                                                                      -
                                                                                                                      624#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      -
                                                                                                                      625 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      -
                                                                                                                      626 CompletionToken,
                                                                                                                      - -
                                                                                                                      628 )
                                                                                                                      -
                                                                                                                      629#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      - - -
                                                                                                                      632 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      -
                                                                                                                      633 ) const;
                                                                                                                      -
                                                                                                                      634
                                                                                                                      -
                                                                                                                      635 // sync APIs
                                                                                                                      -
                                                                                                                      636
                                                                                                                      -
                                                                                                                      642 std::optional<typename basic_packet_id_type<PacketIdBytes>::type> acquire_unique_packet_id();
                                                                                                                      -
                                                                                                                      643
                                                                                                                      - -
                                                                                                                      650
                                                                                                                      - -
                                                                                                                      656
                                                                                                                      -
                                                                                                                      662 std::set<typename basic_packet_id_type<PacketIdBytes>::type> get_qos2_publish_handled_pids() const;
                                                                                                                      -
                                                                                                                      663
                                                                                                                      - -
                                                                                                                      670
                                                                                                                      - - -
                                                                                                                      678 );
                                                                                                                      +
                                                                                                                      262
                                                                                                                      +
                                                                                                                      263
                                                                                                                      +
                                                                                                                      264 // async functions
                                                                                                                      +
                                                                                                                      265
                                                                                                                      +
                                                                                                                      281 template <
                                                                                                                      +
                                                                                                                      282 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      +
                                                                                                                      283 >
                                                                                                                      +
                                                                                                                      284#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      +
                                                                                                                      285 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      +
                                                                                                                      286 CompletionToken,
                                                                                                                      + +
                                                                                                                      288 )
                                                                                                                      +
                                                                                                                      289#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      + +
                                                                                                                      291 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      +
                                                                                                                      292 );
                                                                                                                      +
                                                                                                                      293
                                                                                                                      +
                                                                                                                      309 template <
                                                                                                                      +
                                                                                                                      310 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      +
                                                                                                                      311 >
                                                                                                                      +
                                                                                                                      312#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      +
                                                                                                                      313 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      +
                                                                                                                      314 CompletionToken,
                                                                                                                      + +
                                                                                                                      316 )
                                                                                                                      +
                                                                                                                      317#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      + +
                                                                                                                      319 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      +
                                                                                                                      320 );
                                                                                                                      +
                                                                                                                      321
                                                                                                                      +
                                                                                                                      338 template <
                                                                                                                      +
                                                                                                                      339 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      +
                                                                                                                      340 >
                                                                                                                      +
                                                                                                                      341#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      +
                                                                                                                      342 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      +
                                                                                                                      343 CompletionToken,
                                                                                                                      +
                                                                                                                      344 void(error_code)
                                                                                                                      +
                                                                                                                      345 )
                                                                                                                      +
                                                                                                                      346#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      + + +
                                                                                                                      349 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      +
                                                                                                                      350 );
                                                                                                                      +
                                                                                                                      351
                                                                                                                      +
                                                                                                                      367 template <
                                                                                                                      +
                                                                                                                      368 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      +
                                                                                                                      369 >
                                                                                                                      +
                                                                                                                      370#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      +
                                                                                                                      371 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      +
                                                                                                                      372 CompletionToken,
                                                                                                                      +
                                                                                                                      373 void()
                                                                                                                      +
                                                                                                                      374 )
                                                                                                                      +
                                                                                                                      375#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      + + +
                                                                                                                      378 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      +
                                                                                                                      379 );
                                                                                                                      +
                                                                                                                      380
                                                                                                                      +
                                                                                                                      398 template <
                                                                                                                      +
                                                                                                                      399 typename Packet,
                                                                                                                      +
                                                                                                                      400 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      +
                                                                                                                      401 >
                                                                                                                      +
                                                                                                                      402#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      +
                                                                                                                      403 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      +
                                                                                                                      404 CompletionToken,
                                                                                                                      +
                                                                                                                      405 void(error_code)
                                                                                                                      +
                                                                                                                      406 )
                                                                                                                      +
                                                                                                                      407#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      + +
                                                                                                                      409 Packet packet,
                                                                                                                      +
                                                                                                                      410 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      +
                                                                                                                      411 );
                                                                                                                      +
                                                                                                                      412
                                                                                                                      +
                                                                                                                      428 template <
                                                                                                                      +
                                                                                                                      429 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      +
                                                                                                                      430 >
                                                                                                                      +
                                                                                                                      431#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      +
                                                                                                                      432 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      +
                                                                                                                      433 CompletionToken,
                                                                                                                      + +
                                                                                                                      435 )
                                                                                                                      +
                                                                                                                      436#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      + +
                                                                                                                      438 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      +
                                                                                                                      439 );
                                                                                                                      +
                                                                                                                      440
                                                                                                                      +
                                                                                                                      459 template <
                                                                                                                      +
                                                                                                                      460 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      +
                                                                                                                      461 >
                                                                                                                      +
                                                                                                                      462#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      +
                                                                                                                      463 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      +
                                                                                                                      464 CompletionToken,
                                                                                                                      + +
                                                                                                                      466 )
                                                                                                                      +
                                                                                                                      467#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      + +
                                                                                                                      469 std::set<control_packet_type> types,
                                                                                                                      +
                                                                                                                      470 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      +
                                                                                                                      471 );
                                                                                                                      +
                                                                                                                      472
                                                                                                                      +
                                                                                                                      492 template <
                                                                                                                      +
                                                                                                                      493 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      +
                                                                                                                      494 >
                                                                                                                      +
                                                                                                                      495#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      +
                                                                                                                      496 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      +
                                                                                                                      497 CompletionToken,
                                                                                                                      + +
                                                                                                                      499 )
                                                                                                                      +
                                                                                                                      500#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      + +
                                                                                                                      502 filter fil,
                                                                                                                      +
                                                                                                                      503 std::set<control_packet_type> types,
                                                                                                                      +
                                                                                                                      504 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      +
                                                                                                                      505 );
                                                                                                                      +
                                                                                                                      506
                                                                                                                      +
                                                                                                                      520 template <
                                                                                                                      +
                                                                                                                      521 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      +
                                                                                                                      522 >
                                                                                                                      +
                                                                                                                      523#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      +
                                                                                                                      524 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      +
                                                                                                                      525 CompletionToken,
                                                                                                                      +
                                                                                                                      526 void()
                                                                                                                      +
                                                                                                                      527 )
                                                                                                                      +
                                                                                                                      528#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      + +
                                                                                                                      530 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      +
                                                                                                                      531 );
                                                                                                                      +
                                                                                                                      532
                                                                                                                      +
                                                                                                                      549 template <
                                                                                                                      +
                                                                                                                      550 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      +
                                                                                                                      551 >
                                                                                                                      +
                                                                                                                      552#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      +
                                                                                                                      553 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      +
                                                                                                                      554 CompletionToken,
                                                                                                                      +
                                                                                                                      555 void()
                                                                                                                      +
                                                                                                                      556 )
                                                                                                                      +
                                                                                                                      557#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      + + +
                                                                                                                      560 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      +
                                                                                                                      561 );
                                                                                                                      +
                                                                                                                      562
                                                                                                                      +
                                                                                                                      582 template <
                                                                                                                      +
                                                                                                                      583 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      +
                                                                                                                      584 >
                                                                                                                      +
                                                                                                                      585#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      +
                                                                                                                      586 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      +
                                                                                                                      587 CompletionToken,
                                                                                                                      + +
                                                                                                                      589 )
                                                                                                                      +
                                                                                                                      590#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      + +
                                                                                                                      592 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      +
                                                                                                                      593 ) const;
                                                                                                                      +
                                                                                                                      594
                                                                                                                      +
                                                                                                                      611 template <
                                                                                                                      +
                                                                                                                      612 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      +
                                                                                                                      613 >
                                                                                                                      +
                                                                                                                      614#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      +
                                                                                                                      615 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      +
                                                                                                                      616 CompletionToken,
                                                                                                                      + +
                                                                                                                      618 )
                                                                                                                      +
                                                                                                                      619#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      + + +
                                                                                                                      622 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      +
                                                                                                                      623 ) const;
                                                                                                                      +
                                                                                                                      624
                                                                                                                      +
                                                                                                                      625 // sync APIs
                                                                                                                      +
                                                                                                                      626
                                                                                                                      +
                                                                                                                      632 std::optional<typename basic_packet_id_type<PacketIdBytes>::type> acquire_unique_packet_id();
                                                                                                                      +
                                                                                                                      633
                                                                                                                      + +
                                                                                                                      640
                                                                                                                      + +
                                                                                                                      646
                                                                                                                      +
                                                                                                                      652 std::set<typename basic_packet_id_type<PacketIdBytes>::type> get_qos2_publish_handled_pids() const;
                                                                                                                      +
                                                                                                                      653
                                                                                                                      + +
                                                                                                                      660
                                                                                                                      + + +
                                                                                                                      668 );
                                                                                                                      +
                                                                                                                      669
                                                                                                                      +
                                                                                                                      678 std::vector<basic_store_packet_variant<PacketIdBytes>> get_stored_packets() const;
                                                                                                                      679
                                                                                                                      -
                                                                                                                      688 std::vector<basic_store_packet_variant<PacketIdBytes>> get_stored_packets() const;
                                                                                                                      -
                                                                                                                      689
                                                                                                                      - -
                                                                                                                      695
                                                                                                                      - -
                                                                                                                      702
                                                                                                                      - - -
                                                                                                                      712 error_code& ec
                                                                                                                      -
                                                                                                                      713 ) const;
                                                                                                                      -
                                                                                                                      714
                                                                                                                      -
                                                                                                                      722 void set_pingreq_send_interval_ms(std::size_t ms);
                                                                                                                      -
                                                                                                                      723
                                                                                                                      -
                                                                                                                      727 template <typename Executor1>
                                                                                                                      -
                                                                                                                      - -
                                                                                                                      729 using other = basic_endpoint<
                                                                                                                      -
                                                                                                                      730 Role,
                                                                                                                      -
                                                                                                                      731 PacketIdBytes,
                                                                                                                      -
                                                                                                                      732 typename NextLayer::template rebind_executor<Executor1>::other
                                                                                                                      -
                                                                                                                      733 >;
                                                                                                                      -
                                                                                                                      734 };
                                                                                                                      + +
                                                                                                                      685
                                                                                                                      + +
                                                                                                                      692
                                                                                                                      + + +
                                                                                                                      702 error_code& ec
                                                                                                                      +
                                                                                                                      703 ) const;
                                                                                                                      +
                                                                                                                      704
                                                                                                                      +
                                                                                                                      712 void set_pingreq_send_interval_ms(std::size_t ms);
                                                                                                                      +
                                                                                                                      713
                                                                                                                      +
                                                                                                                      717 template <typename Executor1>
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      719 using other = basic_endpoint<
                                                                                                                      +
                                                                                                                      720 Role,
                                                                                                                      +
                                                                                                                      721 PacketIdBytes,
                                                                                                                      +
                                                                                                                      722 typename NextLayer::template rebind_executor<Executor1>::other
                                                                                                                      +
                                                                                                                      723 >;
                                                                                                                      +
                                                                                                                      724 };
                                                                                                                      -
                                                                                                                      735
                                                                                                                      -
                                                                                                                      736private: // compose operation impl
                                                                                                                      -
                                                                                                                      737
                                                                                                                      -
                                                                                                                      747 template <typename... Args>
                                                                                                                      -
                                                                                                                      748 explicit
                                                                                                                      - - -
                                                                                                                      751 Args&&... args
                                                                                                                      -
                                                                                                                      752 );
                                                                                                                      -
                                                                                                                      753
                                                                                                                      -
                                                                                                                      759 template <typename Other>
                                                                                                                      -
                                                                                                                      760 explicit
                                                                                                                      - - -
                                                                                                                      763 );
                                                                                                                      -
                                                                                                                      764
                                                                                                                      -
                                                                                                                      765 static constexpr bool can_send_as_client(role r);
                                                                                                                      -
                                                                                                                      766 static constexpr bool can_send_as_server(role r);
                                                                                                                      -
                                                                                                                      767 static std::optional<topic_alias_type> get_topic_alias(properties const& props);
                                                                                                                      -
                                                                                                                      768
                                                                                                                      -
                                                                                                                      769 struct acquire_unique_packet_id_op;
                                                                                                                      -
                                                                                                                      770 struct acquire_unique_packet_id_wait_until_op;
                                                                                                                      -
                                                                                                                      771 struct register_packet_id_op;
                                                                                                                      -
                                                                                                                      772 struct release_packet_id_op;
                                                                                                                      -
                                                                                                                      773 template <typename Packet> struct send_op;
                                                                                                                      -
                                                                                                                      774 struct recv_op;
                                                                                                                      -
                                                                                                                      775 struct close_op;
                                                                                                                      -
                                                                                                                      776 struct restore_packets_op;
                                                                                                                      -
                                                                                                                      777 struct get_stored_packets_op;
                                                                                                                      -
                                                                                                                      778 struct regulate_for_store_op;
                                                                                                                      -
                                                                                                                      779 struct add_retry_op;
                                                                                                                      -
                                                                                                                      780
                                                                                                                      -
                                                                                                                      781private:
                                                                                                                      -
                                                                                                                      782
                                                                                                                      -
                                                                                                                      783 template <
                                                                                                                      -
                                                                                                                      784 typename Packet,
                                                                                                                      -
                                                                                                                      785 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      -
                                                                                                                      786 >
                                                                                                                      -
                                                                                                                      787#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      -
                                                                                                                      788 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      -
                                                                                                                      789 CompletionToken,
                                                                                                                      -
                                                                                                                      790 void(error_code)
                                                                                                                      -
                                                                                                                      791 )
                                                                                                                      -
                                                                                                                      792#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      - -
                                                                                                                      794 Packet packet,
                                                                                                                      -
                                                                                                                      795 bool from_queue,
                                                                                                                      -
                                                                                                                      796 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      -
                                                                                                                      797 );
                                                                                                                      -
                                                                                                                      798
                                                                                                                      -
                                                                                                                      799 template <
                                                                                                                      -
                                                                                                                      800 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      -
                                                                                                                      801 >
                                                                                                                      -
                                                                                                                      802#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      -
                                                                                                                      803 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      -
                                                                                                                      804 CompletionToken,
                                                                                                                      -
                                                                                                                      805 void(error_code)
                                                                                                                      -
                                                                                                                      806 )
                                                                                                                      -
                                                                                                                      807#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      -
                                                                                                                      808 async_add_retry(
                                                                                                                      -
                                                                                                                      809 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      -
                                                                                                                      810 );
                                                                                                                      -
                                                                                                                      811
                                                                                                                      -
                                                                                                                      812 bool enqueue_publish(v5::basic_publish_packet<PacketIdBytes>& packet);
                                                                                                                      -
                                                                                                                      813 void send_stored();
                                                                                                                      -
                                                                                                                      814 void initialize();
                                                                                                                      -
                                                                                                                      815
                                                                                                                      -
                                                                                                                      816 void reset_pingreq_send_timer();
                                                                                                                      -
                                                                                                                      817 void reset_pingreq_recv_timer();
                                                                                                                      -
                                                                                                                      818 void reset_pingresp_recv_timer();
                                                                                                                      -
                                                                                                                      819
                                                                                                                      -
                                                                                                                      820 void notify_retry_one();
                                                                                                                      -
                                                                                                                      821 void complete_retry_one();
                                                                                                                      -
                                                                                                                      822 void notify_retry_all();
                                                                                                                      -
                                                                                                                      823 bool has_retry() const;
                                                                                                                      -
                                                                                                                      824
                                                                                                                      -
                                                                                                                      825 void clear_pid_man();
                                                                                                                      -
                                                                                                                      826 void release_pid(typename basic_packet_id_type<PacketIdBytes>::type pid);
                                                                                                                      +
                                                                                                                      725
                                                                                                                      +
                                                                                                                      726private: // compose operation impl
                                                                                                                      +
                                                                                                                      727
                                                                                                                      +
                                                                                                                      737 template <typename... Args>
                                                                                                                      +
                                                                                                                      738 explicit
                                                                                                                      + + +
                                                                                                                      741 Args&&... args
                                                                                                                      +
                                                                                                                      742 );
                                                                                                                      +
                                                                                                                      743
                                                                                                                      +
                                                                                                                      749 template <typename Other>
                                                                                                                      +
                                                                                                                      750 explicit
                                                                                                                      + + +
                                                                                                                      753 );
                                                                                                                      +
                                                                                                                      754
                                                                                                                      +
                                                                                                                      755 static constexpr bool can_send_as_client(role r);
                                                                                                                      +
                                                                                                                      756 static constexpr bool can_send_as_server(role r);
                                                                                                                      +
                                                                                                                      757 static std::optional<topic_alias_type> get_topic_alias(properties const& props);
                                                                                                                      +
                                                                                                                      758
                                                                                                                      +
                                                                                                                      759 struct acquire_unique_packet_id_op;
                                                                                                                      +
                                                                                                                      760 struct acquire_unique_packet_id_wait_until_op;
                                                                                                                      +
                                                                                                                      761 struct register_packet_id_op;
                                                                                                                      +
                                                                                                                      762 struct release_packet_id_op;
                                                                                                                      +
                                                                                                                      763 template <typename Packet> struct send_op;
                                                                                                                      +
                                                                                                                      764 struct recv_op;
                                                                                                                      +
                                                                                                                      765 struct close_op;
                                                                                                                      +
                                                                                                                      766 struct restore_packets_op;
                                                                                                                      +
                                                                                                                      767 struct get_stored_packets_op;
                                                                                                                      +
                                                                                                                      768 struct regulate_for_store_op;
                                                                                                                      +
                                                                                                                      769 struct add_retry_op;
                                                                                                                      +
                                                                                                                      770
                                                                                                                      +
                                                                                                                      771private:
                                                                                                                      +
                                                                                                                      772
                                                                                                                      +
                                                                                                                      773 template <
                                                                                                                      +
                                                                                                                      774 typename Packet,
                                                                                                                      +
                                                                                                                      775 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      +
                                                                                                                      776 >
                                                                                                                      +
                                                                                                                      777#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      +
                                                                                                                      778 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      +
                                                                                                                      779 CompletionToken,
                                                                                                                      +
                                                                                                                      780 void(error_code)
                                                                                                                      +
                                                                                                                      781 )
                                                                                                                      +
                                                                                                                      782#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      + +
                                                                                                                      784 Packet packet,
                                                                                                                      +
                                                                                                                      785 bool from_queue,
                                                                                                                      +
                                                                                                                      786 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      +
                                                                                                                      787 );
                                                                                                                      +
                                                                                                                      788
                                                                                                                      +
                                                                                                                      789 template <
                                                                                                                      +
                                                                                                                      790 typename CompletionToken = as::default_completion_token_t<executor_type>
                                                                                                                      +
                                                                                                                      791 >
                                                                                                                      +
                                                                                                                      792#if !defined(GENERATING_DOCUMENTATION)
                                                                                                                      +
                                                                                                                      793 BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(
                                                                                                                      +
                                                                                                                      794 CompletionToken,
                                                                                                                      +
                                                                                                                      795 void(error_code)
                                                                                                                      +
                                                                                                                      796 )
                                                                                                                      +
                                                                                                                      797#endif // !defined(GENERATING_DOCUMENTATION)
                                                                                                                      +
                                                                                                                      798 async_add_retry(
                                                                                                                      +
                                                                                                                      799 CompletionToken&& token = as::default_completion_token_t<executor_type>{}
                                                                                                                      +
                                                                                                                      800 );
                                                                                                                      +
                                                                                                                      801
                                                                                                                      +
                                                                                                                      802 bool enqueue_publish(v5::basic_publish_packet<PacketIdBytes>& packet);
                                                                                                                      +
                                                                                                                      803 void send_stored();
                                                                                                                      +
                                                                                                                      804 void initialize();
                                                                                                                      +
                                                                                                                      805
                                                                                                                      +
                                                                                                                      806 void reset_pingreq_send_timer();
                                                                                                                      +
                                                                                                                      807 void reset_pingreq_recv_timer();
                                                                                                                      +
                                                                                                                      808 void reset_pingresp_recv_timer();
                                                                                                                      +
                                                                                                                      809
                                                                                                                      +
                                                                                                                      810 void notify_retry_one();
                                                                                                                      +
                                                                                                                      811 void complete_retry_one();
                                                                                                                      +
                                                                                                                      812 void notify_retry_all();
                                                                                                                      +
                                                                                                                      813 bool has_retry() const;
                                                                                                                      +
                                                                                                                      814
                                                                                                                      +
                                                                                                                      815 void clear_pid_man();
                                                                                                                      +
                                                                                                                      816 void release_pid(typename basic_packet_id_type<PacketIdBytes>::type pid);
                                                                                                                      +
                                                                                                                      817
                                                                                                                      +
                                                                                                                      818private:
                                                                                                                      +
                                                                                                                      819 protocol_version protocol_version_;
                                                                                                                      +
                                                                                                                      820 std::shared_ptr<stream_type> stream_;
                                                                                                                      +
                                                                                                                      821 packet_id_manager<typename basic_packet_id_type<PacketIdBytes>::type> pid_man_;
                                                                                                                      +
                                                                                                                      822 std::set<typename basic_packet_id_type<PacketIdBytes>::type> pid_suback_;
                                                                                                                      +
                                                                                                                      823 std::set<typename basic_packet_id_type<PacketIdBytes>::type> pid_unsuback_;
                                                                                                                      +
                                                                                                                      824 std::set<typename basic_packet_id_type<PacketIdBytes>::type> pid_puback_;
                                                                                                                      +
                                                                                                                      825 std::set<typename basic_packet_id_type<PacketIdBytes>::type> pid_pubrec_;
                                                                                                                      +
                                                                                                                      826 std::set<typename basic_packet_id_type<PacketIdBytes>::type> pid_pubcomp_;
                                                                                                                      827
                                                                                                                      -
                                                                                                                      828private:
                                                                                                                      -
                                                                                                                      829 protocol_version protocol_version_;
                                                                                                                      -
                                                                                                                      830 std::shared_ptr<stream_type> stream_;
                                                                                                                      -
                                                                                                                      831 packet_id_manager<typename basic_packet_id_type<PacketIdBytes>::type> pid_man_;
                                                                                                                      -
                                                                                                                      832 std::set<typename basic_packet_id_type<PacketIdBytes>::type> pid_suback_;
                                                                                                                      -
                                                                                                                      833 std::set<typename basic_packet_id_type<PacketIdBytes>::type> pid_unsuback_;
                                                                                                                      -
                                                                                                                      834 std::set<typename basic_packet_id_type<PacketIdBytes>::type> pid_puback_;
                                                                                                                      -
                                                                                                                      835 std::set<typename basic_packet_id_type<PacketIdBytes>::type> pid_pubrec_;
                                                                                                                      -
                                                                                                                      836 std::set<typename basic_packet_id_type<PacketIdBytes>::type> pid_pubcomp_;
                                                                                                                      -
                                                                                                                      837
                                                                                                                      -
                                                                                                                      838 bool need_store_ = false;
                                                                                                                      -
                                                                                                                      839 store<PacketIdBytes> store_;
                                                                                                                      -
                                                                                                                      840
                                                                                                                      -
                                                                                                                      841 bool auto_pub_response_ = false;
                                                                                                                      -
                                                                                                                      842 bool auto_ping_response_ = false;
                                                                                                                      -
                                                                                                                      843
                                                                                                                      -
                                                                                                                      844 bool auto_map_topic_alias_send_ = false;
                                                                                                                      -
                                                                                                                      845 bool auto_replace_topic_alias_send_ = false;
                                                                                                                      -
                                                                                                                      846 std::optional<topic_alias_send> topic_alias_send_;
                                                                                                                      -
                                                                                                                      847 std::optional<topic_alias_recv> topic_alias_recv_;
                                                                                                                      -
                                                                                                                      848
                                                                                                                      -
                                                                                                                      849 receive_maximum_type publish_send_max_{receive_maximum_max};
                                                                                                                      -
                                                                                                                      850 receive_maximum_type publish_recv_max_{receive_maximum_max};
                                                                                                                      -
                                                                                                                      851 receive_maximum_type publish_send_count_{0};
                                                                                                                      +
                                                                                                                      828 bool need_store_ = false;
                                                                                                                      +
                                                                                                                      829 store<PacketIdBytes> store_;
                                                                                                                      +
                                                                                                                      830
                                                                                                                      +
                                                                                                                      831 bool auto_pub_response_ = false;
                                                                                                                      +
                                                                                                                      832 bool auto_ping_response_ = false;
                                                                                                                      +
                                                                                                                      833
                                                                                                                      +
                                                                                                                      834 bool auto_map_topic_alias_send_ = false;
                                                                                                                      +
                                                                                                                      835 bool auto_replace_topic_alias_send_ = false;
                                                                                                                      +
                                                                                                                      836 std::optional<topic_alias_send> topic_alias_send_;
                                                                                                                      +
                                                                                                                      837 std::optional<topic_alias_recv> topic_alias_recv_;
                                                                                                                      +
                                                                                                                      838
                                                                                                                      +
                                                                                                                      839 receive_maximum_type publish_send_max_{receive_maximum_max};
                                                                                                                      +
                                                                                                                      840 receive_maximum_type publish_recv_max_{receive_maximum_max};
                                                                                                                      +
                                                                                                                      841 receive_maximum_type publish_send_count_{0};
                                                                                                                      +
                                                                                                                      842
                                                                                                                      +
                                                                                                                      843 std::set<typename basic_packet_id_type<PacketIdBytes>::type> publish_recv_;
                                                                                                                      +
                                                                                                                      844 std::deque<v5::basic_publish_packet<PacketIdBytes>> publish_queue_;
                                                                                                                      +
                                                                                                                      845
                                                                                                                      +
                                                                                                                      846 ioc_queue close_queue_;
                                                                                                                      +
                                                                                                                      847
                                                                                                                      +
                                                                                                                      848 std::uint32_t maximum_packet_size_send_{packet_size_no_limit};
                                                                                                                      +
                                                                                                                      849 std::uint32_t maximum_packet_size_recv_{packet_size_no_limit};
                                                                                                                      +
                                                                                                                      850
                                                                                                                      +
                                                                                                                      851 connection_status status_{connection_status::closed};
                                                                                                                      852
                                                                                                                      -
                                                                                                                      853 std::set<typename basic_packet_id_type<PacketIdBytes>::type> publish_recv_;
                                                                                                                      -
                                                                                                                      854 std::deque<v5::basic_publish_packet<PacketIdBytes>> publish_queue_;
                                                                                                                      -
                                                                                                                      855
                                                                                                                      -
                                                                                                                      856 ioc_queue close_queue_;
                                                                                                                      -
                                                                                                                      857
                                                                                                                      -
                                                                                                                      858 std::uint32_t maximum_packet_size_send_{packet_size_no_limit};
                                                                                                                      -
                                                                                                                      859 std::uint32_t maximum_packet_size_recv_{packet_size_no_limit};
                                                                                                                      +
                                                                                                                      853 std::optional<std::size_t> pingreq_send_interval_ms_;
                                                                                                                      +
                                                                                                                      854 std::optional<std::size_t> pingreq_recv_timeout_ms_;
                                                                                                                      +
                                                                                                                      855 std::optional<std::size_t> pingresp_recv_timeout_ms_;
                                                                                                                      +
                                                                                                                      856
                                                                                                                      +
                                                                                                                      857 std::shared_ptr<as::steady_timer> tim_pingreq_send_;
                                                                                                                      +
                                                                                                                      858 std::shared_ptr<as::steady_timer> tim_pingreq_recv_;
                                                                                                                      +
                                                                                                                      859 std::shared_ptr<as::steady_timer> tim_pingresp_recv_;
                                                                                                                      860
                                                                                                                      -
                                                                                                                      861 connection_status status_{connection_status::closed};
                                                                                                                      +
                                                                                                                      861 std::set<typename basic_packet_id_type<PacketIdBytes>::type> qos2_publish_handled_;
                                                                                                                      862
                                                                                                                      -
                                                                                                                      863 std::optional<std::size_t> pingreq_send_interval_ms_;
                                                                                                                      -
                                                                                                                      864 std::optional<std::size_t> pingreq_recv_timeout_ms_;
                                                                                                                      -
                                                                                                                      865 std::optional<std::size_t> pingresp_recv_timeout_ms_;
                                                                                                                      -
                                                                                                                      866
                                                                                                                      -
                                                                                                                      867 std::shared_ptr<as::steady_timer> tim_pingreq_send_;
                                                                                                                      -
                                                                                                                      868 std::shared_ptr<as::steady_timer> tim_pingreq_recv_;
                                                                                                                      -
                                                                                                                      869 std::shared_ptr<as::steady_timer> tim_pingresp_recv_;
                                                                                                                      -
                                                                                                                      870
                                                                                                                      -
                                                                                                                      871 std::set<typename basic_packet_id_type<PacketIdBytes>::type> qos2_publish_handled_;
                                                                                                                      -
                                                                                                                      872
                                                                                                                      -
                                                                                                                      873 std::set<typename basic_packet_id_type<PacketIdBytes>::type> qos2_publish_processing_;
                                                                                                                      -
                                                                                                                      874
                                                                                                                      -
                                                                                                                      875 struct tim_cancelled;
                                                                                                                      -
                                                                                                                      876 std::deque<tim_cancelled> tim_retry_acq_pid_queue_;
                                                                                                                      -
                                                                                                                      877 bool packet_id_released_ = false;
                                                                                                                      -
                                                                                                                      878};
                                                                                                                      -
                                                                                                                      879
                                                                                                                      -
                                                                                                                      888template <role Role, typename NextLayer>
                                                                                                                      - -
                                                                                                                      890
                                                                                                                      -
                                                                                                                      891} // namespace async_mqtt
                                                                                                                      -
                                                                                                                      892
                                                                                                                      -
                                                                                                                      893#include <async_mqtt/impl/endpoint_impl.hpp>
                                                                                                                      -
                                                                                                                      894#include <async_mqtt/impl/endpoint_acquire_unique_packet_id.hpp>
                                                                                                                      -
                                                                                                                      895#include <async_mqtt/impl/endpoint_acquire_unique_packet_id_wait_until.hpp>
                                                                                                                      -
                                                                                                                      896#include <async_mqtt/impl/endpoint_register_packet_id.hpp>
                                                                                                                      -
                                                                                                                      897#include <async_mqtt/impl/endpoint_release_packet_id.hpp>
                                                                                                                      -
                                                                                                                      898#include <async_mqtt/impl/endpoint_send.hpp>
                                                                                                                      -
                                                                                                                      899#include <async_mqtt/impl/endpoint_recv.hpp>
                                                                                                                      -
                                                                                                                      900#include <async_mqtt/impl/endpoint_close.hpp>
                                                                                                                      -
                                                                                                                      901#include <async_mqtt/impl/endpoint_restore_packets.hpp>
                                                                                                                      -
                                                                                                                      902#include <async_mqtt/impl/endpoint_get_stored_packets.hpp>
                                                                                                                      -
                                                                                                                      903#include <async_mqtt/impl/endpoint_regulate_for_store.hpp>
                                                                                                                      -
                                                                                                                      904#include <async_mqtt/impl/endpoint_add_retry.hpp>
                                                                                                                      -
                                                                                                                      905
                                                                                                                      -
                                                                                                                      906#endif // ASYNC_MQTT_ENDPOINT_HPP
                                                                                                                      -
                                                                                                                      MQTT endpoint corresponding to the connection.
                                                                                                                      Definition endpoint_fwd.hpp:17
                                                                                                                      +
                                                                                                                      863 std::set<typename basic_packet_id_type<PacketIdBytes>::type> qos2_publish_processing_;
                                                                                                                      +
                                                                                                                      864
                                                                                                                      +
                                                                                                                      865 struct tim_cancelled;
                                                                                                                      +
                                                                                                                      866 std::deque<tim_cancelled> tim_retry_acq_pid_queue_;
                                                                                                                      +
                                                                                                                      867 bool packet_id_released_ = false;
                                                                                                                      +
                                                                                                                      868};
                                                                                                                      +
                                                                                                                      869
                                                                                                                      +
                                                                                                                      870} // namespace async_mqtt
                                                                                                                      +
                                                                                                                      871
                                                                                                                      +
                                                                                                                      872#include <async_mqtt/impl/endpoint_impl.hpp>
                                                                                                                      +
                                                                                                                      873#include <async_mqtt/impl/endpoint_acquire_unique_packet_id.hpp>
                                                                                                                      +
                                                                                                                      874#include <async_mqtt/impl/endpoint_acquire_unique_packet_id_wait_until.hpp>
                                                                                                                      +
                                                                                                                      875#include <async_mqtt/impl/endpoint_register_packet_id.hpp>
                                                                                                                      +
                                                                                                                      876#include <async_mqtt/impl/endpoint_release_packet_id.hpp>
                                                                                                                      +
                                                                                                                      877#include <async_mqtt/impl/endpoint_send.hpp>
                                                                                                                      +
                                                                                                                      878#include <async_mqtt/impl/endpoint_recv.hpp>
                                                                                                                      +
                                                                                                                      879#include <async_mqtt/impl/endpoint_close.hpp>
                                                                                                                      +
                                                                                                                      880#include <async_mqtt/impl/endpoint_restore_packets.hpp>
                                                                                                                      +
                                                                                                                      881#include <async_mqtt/impl/endpoint_get_stored_packets.hpp>
                                                                                                                      +
                                                                                                                      882#include <async_mqtt/impl/endpoint_regulate_for_store.hpp>
                                                                                                                      +
                                                                                                                      883#include <async_mqtt/impl/endpoint_add_retry.hpp>
                                                                                                                      +
                                                                                                                      884
                                                                                                                      +
                                                                                                                      885#endif // ASYNC_MQTT_ENDPOINT_HPP
                                                                                                                      +
                                                                                                                      MQTT endpoint corresponding to the connection.
                                                                                                                      Definition endpoint_fwd.hpp:28
                                                                                                                      async_recv(filter fil, std::set< control_packet_type > types, CompletionToken &&token=as::default_completion_token_t< executor_type >{})
                                                                                                                      receive packet if packet is not filterd, then next recv() starts automatically. if receive error happ...
                                                                                                                      -
                                                                                                                      void set_bulk_write(bool val)
                                                                                                                      Set bulk write mode. If true, then concatenate multiple packets' const buffer sequence when send() is...
                                                                                                                      Definition endpoint.hpp:255
                                                                                                                      +
                                                                                                                      void set_bulk_write(bool val)
                                                                                                                      Set bulk write mode. If true, then concatenate multiple packets' const buffer sequence when send() is...
                                                                                                                      Definition endpoint.hpp:245
                                                                                                                      async_release_packet_id(typename basic_packet_id_type< PacketIdBytes >::type packet_id, CompletionToken &&token=as::default_completion_token_t< executor_type >{})
                                                                                                                      release packet_id.
                                                                                                                      async_send(Packet packet, CompletionToken &&token=as::default_completion_token_t< executor_type >{})
                                                                                                                      send packet users can call send() before the previous send()'s CompletionToken is invoked
                                                                                                                      async_acquire_unique_packet_id_wait_until(CompletionToken &&token=as::default_completion_token_t< executor_type >{})
                                                                                                                      acuire unique packet_id. If packet_id is fully acquired, then wait until released.
                                                                                                                      -
                                                                                                                      lowest_layer_type & lowest_layer()
                                                                                                                      lowest_layer getter
                                                                                                                      Definition endpoint.hpp:172
                                                                                                                      -
                                                                                                                      basic_packet_variant< PacketIdBytes > packet_variant_type
                                                                                                                      Type of packet_variant.
                                                                                                                      Definition endpoint.hpp:90
                                                                                                                      -
                                                                                                                      void set_auto_map_topic_alias_send(bool val)
                                                                                                                      auto map (allocate) topic alias on send PUBLISH packet. If all topic aliases are used,...
                                                                                                                      Definition endpoint.hpp:207
                                                                                                                      +
                                                                                                                      lowest_layer_type & lowest_layer()
                                                                                                                      lowest_layer getter
                                                                                                                      Definition endpoint.hpp:162
                                                                                                                      +
                                                                                                                      basic_packet_variant< PacketIdBytes > packet_variant_type
                                                                                                                      Type of packet_variant.
                                                                                                                      Definition endpoint.hpp:80
                                                                                                                      +
                                                                                                                      void set_auto_map_topic_alias_send(bool val)
                                                                                                                      auto map (allocate) topic alias on send PUBLISH packet. If all topic aliases are used,...
                                                                                                                      Definition endpoint.hpp:197
                                                                                                                      async_recv(CompletionToken &&token=as::default_completion_token_t< executor_type >{})
                                                                                                                      receive packet
                                                                                                                      std::set< typename basic_packet_id_type< PacketIdBytes >::type > get_qos2_publish_handled_pids() const
                                                                                                                      Get processed but not released QoS2 packet ids This function should be called after disconnection.
                                                                                                                      -
                                                                                                                      void set_auto_ping_response(bool val)
                                                                                                                      auto pingreq response setter. Should be called before send()/recv() call.
                                                                                                                      Definition endpoint.hpp:193
                                                                                                                      -
                                                                                                                      void set_auto_pub_response(bool val)
                                                                                                                      auto publish response setter. Should be called before send()/recv() call.
                                                                                                                      Definition endpoint.hpp:181
                                                                                                                      +
                                                                                                                      void set_auto_ping_response(bool val)
                                                                                                                      auto pingreq response setter. Should be called before send()/recv() call.
                                                                                                                      Definition endpoint.hpp:183
                                                                                                                      +
                                                                                                                      void set_auto_pub_response(bool val)
                                                                                                                      auto publish response setter. Should be called before send()/recv() call.
                                                                                                                      Definition endpoint.hpp:171
                                                                                                                      std::vector< basic_store_packet_variant< PacketIdBytes > > get_stored_packets() const
                                                                                                                      get stored packets sotred packets mean inflight packets.
                                                                                                                      void regulate_for_store(v5::basic_publish_packet< PacketIdBytes > &packet, error_code &ec) const
                                                                                                                      Regulate publish packet for store If topic is empty, extract topic from topic alias,...
                                                                                                                      -
                                                                                                                      typename next_layer_type::executor_type executor_type
                                                                                                                      executor_type of the given NextLayer
                                                                                                                      Definition endpoint.hpp:87
                                                                                                                      +
                                                                                                                      typename next_layer_type::executor_type executor_type
                                                                                                                      executor_type of the given NextLayer
                                                                                                                      Definition endpoint.hpp:77
                                                                                                                      void restore_packets(std::vector< basic_store_packet_variant< PacketIdBytes > > pvs)
                                                                                                                      restore packets the restored packets would automatically send when CONNACK packet is received
                                                                                                                      -
                                                                                                                      void set_auto_replace_topic_alias_send(bool val)
                                                                                                                      auto replace topic with corresponding topic alias on send PUBLISH packet. Registering topic alias nee...
                                                                                                                      Definition endpoint.hpp:221
                                                                                                                      +
                                                                                                                      void set_auto_replace_topic_alias_send(bool val)
                                                                                                                      auto replace topic with corresponding topic alias on send PUBLISH packet. Registering topic alias nee...
                                                                                                                      Definition endpoint.hpp:211
                                                                                                                      async_acquire_unique_packet_id(CompletionToken &&token=as::default_completion_token_t< executor_type >{})
                                                                                                                      acuire unique packet_id.
                                                                                                                      async_close(CompletionToken &&token=as::default_completion_token_t< executor_type >{})
                                                                                                                      close the underlying connection
                                                                                                                      async_recv(std::set< control_packet_type > types, CompletionToken &&token=as::default_completion_token_t< executor_type >{})
                                                                                                                      receive packet if packet is not filterd, then next recv() starts automatically. if receive error happ...
                                                                                                                      -
                                                                                                                      as::any_io_executor get_executor() const
                                                                                                                      executor getter
                                                                                                                      Definition endpoint.hpp:142
                                                                                                                      -
                                                                                                                      lowest_layer_type const & lowest_layer() const
                                                                                                                      lowest_layer getter
                                                                                                                      Definition endpoint.hpp:165
                                                                                                                      +
                                                                                                                      as::any_io_executor get_executor() const
                                                                                                                      executor getter
                                                                                                                      Definition endpoint.hpp:132
                                                                                                                      +
                                                                                                                      lowest_layer_type const & lowest_layer() const
                                                                                                                      lowest_layer getter
                                                                                                                      Definition endpoint.hpp:155
                                                                                                                      std::optional< typename basic_packet_id_type< PacketIdBytes >::type > acquire_unique_packet_id()
                                                                                                                      acuire unique packet_id.
                                                                                                                      protocol_version get_protocol_version() const
                                                                                                                      get MQTT protocol version
                                                                                                                      basic_endpoint(this_type const &)=delete
                                                                                                                      copy constructor deleted
                                                                                                                      @@ -660,25 +658,25 @@
                                                                                                                      async_restore_packets(std::vector< basic_store_packet_variant< PacketIdBytes > > pvs, CompletionToken &&token=as::default_completion_token_t< executor_type >{})
                                                                                                                      restore packets the restored packets would automatically send when CONNACK packet is received
                                                                                                                      void set_pingreq_send_interval_ms(std::size_t ms)
                                                                                                                      Set PINGREQ packet sending interval.
                                                                                                                      void restore_qos2_publish_handled_pids(std::set< typename basic_packet_id_type< PacketIdBytes >::type > pids)
                                                                                                                      Restore processed but not released QoS2 packet ids This function should be called before receive the ...
                                                                                                                      -
                                                                                                                      typename stream_type::lowest_layer_type lowest_layer_type
                                                                                                                      lowest_layer_type of the given NextLayer
                                                                                                                      Definition endpoint.hpp:84
                                                                                                                      +
                                                                                                                      typename stream_type::lowest_layer_type lowest_layer_type
                                                                                                                      lowest_layer_type of the given NextLayer
                                                                                                                      Definition endpoint.hpp:74
                                                                                                                      basic_endpoint(this_type &&)=delete
                                                                                                                      move constructor deleted
                                                                                                                      async_get_stored_packets(CompletionToken &&token=as::default_completion_token_t< executor_type >{}) const
                                                                                                                      get stored packets
                                                                                                                      -
                                                                                                                      next_layer_type & next_layer()
                                                                                                                      next_layer getter
                                                                                                                      Definition endpoint.hpp:157
                                                                                                                      -
                                                                                                                      void set_bulk_read_buffer_size(std::size_t val)
                                                                                                                      Set the bulk read buffer size. If bulk read is enabled, the val parameter specifies the size of the i...
                                                                                                                      Definition endpoint.hpp:269
                                                                                                                      -
                                                                                                                      next_layer_type const & next_layer() const
                                                                                                                      next_layer getter
                                                                                                                      Definition endpoint.hpp:150
                                                                                                                      +
                                                                                                                      next_layer_type & next_layer()
                                                                                                                      next_layer getter
                                                                                                                      Definition endpoint.hpp:147
                                                                                                                      +
                                                                                                                      void set_bulk_read_buffer_size(std::size_t val)
                                                                                                                      Set the bulk read buffer size. If bulk read is enabled, the val parameter specifies the size of the i...
                                                                                                                      Definition endpoint.hpp:259
                                                                                                                      +
                                                                                                                      next_layer_type const & next_layer() const
                                                                                                                      next_layer getter
                                                                                                                      Definition endpoint.hpp:140
                                                                                                                      bool register_packet_id(typename basic_packet_id_type< PacketIdBytes >::type packet_id)
                                                                                                                      register packet_id.
                                                                                                                      -
                                                                                                                      void set_pingresp_recv_timeout_ms(std::size_t ms)
                                                                                                                      Set timeout for receiving PINGRESP packet after PINGREQ packet is sent. If the timer is fired,...
                                                                                                                      Definition endpoint.hpp:237
                                                                                                                      +
                                                                                                                      void set_pingresp_recv_timeout_ms(std::size_t ms)
                                                                                                                      Set timeout for receiving PINGRESP packet after PINGREQ packet is sent. If the timer is fired,...
                                                                                                                      Definition endpoint.hpp:227
                                                                                                                      async_regulate_for_store(v5::basic_publish_packet< PacketIdBytes > packet, CompletionToken &&token=as::default_completion_token_t< executor_type >{}) const
                                                                                                                      regulate publish packet for store remove topic alias from the packet and extract the topic name
                                                                                                                      this_type & operator=(this_type const &)=delete
                                                                                                                      copy assign operator deleted
                                                                                                                      -
                                                                                                                      static std::shared_ptr< this_type > create(protocol_version ver, Args &&... args)
                                                                                                                      create
                                                                                                                      Definition endpoint.hpp:106
                                                                                                                      +
                                                                                                                      static std::shared_ptr< this_type > create(protocol_version ver, Args &&... args)
                                                                                                                      create
                                                                                                                      Definition endpoint.hpp:96
                                                                                                                      void release_packet_id(typename basic_packet_id_type< PacketIdBytes >::type packet_id)
                                                                                                                      release packet_id.
                                                                                                                      -
                                                                                                                      typename stream_type::next_layer_type next_layer_type
                                                                                                                      type of the given NextLayer
                                                                                                                      Definition endpoint.hpp:81
                                                                                                                      +
                                                                                                                      typename stream_type::next_layer_type next_layer_type
                                                                                                                      type of the given NextLayer
                                                                                                                      Definition endpoint.hpp:71
                                                                                                                      async_register_packet_id(typename basic_packet_id_type< PacketIdBytes >::type packet_id, CompletionToken &&token=as::default_completion_token_t< executor_type >{})
                                                                                                                      register packet_id.
                                                                                                                      bool is_publish_processing(typename basic_packet_id_type< PacketIdBytes >::type pid) const
                                                                                                                      Get MQTT PUBLISH packet processing status.
                                                                                                                      The varaint type of all packets and system_error.
                                                                                                                      Definition packet_variant_fwd.hpp:33
                                                                                                                      MQTT packet variant for store.
                                                                                                                      Definition store_packet_variant_fwd.hpp:30
                                                                                                                      MQTT PUBLISH packet (v5)
                                                                                                                      Definition v5_publish.hpp:58
                                                                                                                      -
                                                                                                                      filter
                                                                                                                      receive packet filter
                                                                                                                      Definition endpoint.hpp:42
                                                                                                                      +
                                                                                                                      filter
                                                                                                                      receive packet filter
                                                                                                                      Definition endpoint.hpp:43
                                                                                                                      @ except
                                                                                                                      no matched control_packet_type is target
                                                                                                                      @ match
                                                                                                                      matched control_packet_type is target
                                                                                                                      sys::error_code error_code
                                                                                                                      sys is a namespace alias of boost::sytem.
                                                                                                                      Definition error.hpp:41
                                                                                                                      @@ -687,7 +685,7 @@
                                                                                                                      std::uint16_t receive_maximum_type
                                                                                                                      type of the receive maximum value
                                                                                                                      Definition property.hpp:72
                                                                                                                      std::vector< property_variant > properties
                                                                                                                      property variant collection type
                                                                                                                      Definition property_variant.hpp:200
                                                                                                                      role
                                                                                                                      MQTT endpoint connection role.
                                                                                                                      Definition role.hpp:21
                                                                                                                      -
                                                                                                                      rebinds the basic_endpoint type to another executor
                                                                                                                      Definition endpoint.hpp:728
                                                                                                                      +
                                                                                                                      rebinds the basic_endpoint type to another executor
                                                                                                                      Definition endpoint.hpp:718
                                                                                                                      packet idenfitifer type class template
                                                                                                                      Definition packet_id_type.hpp:20
                                                                                                                      diff --git a/doc/api/endpoint__fwd_8hpp_source.html b/doc/api/endpoint__fwd_8hpp_source.html index 70e0abbcb..829ed036d 100644 --- a/doc/api/endpoint__fwd_8hpp_source.html +++ b/doc/api/endpoint__fwd_8hpp_source.html @@ -115,13 +115,16 @@
                                                                                                                      13
                                                                                                                      14namespace async_mqtt {
                                                                                                                      15
                                                                                                                      -
                                                                                                                      16template <role Role, std::size_t PacketIdBytes, typename NextLayer>
                                                                                                                      - -
                                                                                                                      18
                                                                                                                      -
                                                                                                                      19} // namespace async_mqtt
                                                                                                                      -
                                                                                                                      20
                                                                                                                      -
                                                                                                                      21#endif // ASYNC_MQTT_ENDPOINT_FWD_HPP
                                                                                                                      -
                                                                                                                      MQTT endpoint corresponding to the connection.
                                                                                                                      Definition endpoint_fwd.hpp:17
                                                                                                                      +
                                                                                                                      27template <role Role, std::size_t PacketIdBytes, typename NextLayer>
                                                                                                                      + +
                                                                                                                      29
                                                                                                                      +
                                                                                                                      41template <role Role, typename NextLayer>
                                                                                                                      + +
                                                                                                                      43
                                                                                                                      +
                                                                                                                      44} // namespace async_mqtt
                                                                                                                      +
                                                                                                                      45
                                                                                                                      +
                                                                                                                      46#endif // ASYNC_MQTT_ENDPOINT_FWD_HPP
                                                                                                                      +
                                                                                                                      MQTT endpoint corresponding to the connection.
                                                                                                                      Definition endpoint_fwd.hpp:28
                                                                                                                      diff --git a/doc/api/group__endpoint.html b/doc/api/group__endpoint.html index 2a0f07b26..6fa0d1389 100644 --- a/doc/api/group__endpoint.html +++ b/doc/api/group__endpoint.html @@ -162,13 +162,19 @@

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

                                                                                                                      -
                                                                                                                      Template Parameters
                                                                                                                      +

                                                                                                                      +Thread Safety

                                                                                                                      +
                                                                                                                        +
                                                                                                                      • Distinct objects: Safe
                                                                                                                      • +
                                                                                                                      • Shared objects: Unsafe
                                                                                                                        Template Parameters
                                                                                                                        Rolerole for packet sendable checking
                                                                                                                        NextLayerJust next layer for basic_endpoint. mqtt, mqtts, ws, and wss are predefined.
                                                                                                                        +
                                                                                                                      • +

                                                                                                                      diff --git a/doc/api/group__error__reporting.html b/doc/api/group__error__reporting.html index ea46bb387..4e95e9efd 100644 --- a/doc/api/group__error__reporting.html +++ b/doc/api/group__error__reporting.html @@ -146,17 +146,17 @@  

                                                                                                                      Detailed Description

                                                                                                                      -

                                                                                                                      +

                                                                                                                      Errors

                                                                                                                      The following errors could be reported as CompletionHander's error code or exception system_error 's code().

                                                                                                                      -
                                                                                                                      +
                                                                                                                      Underlying errors
                                                                                                                      • Boost.System Error
                                                                                                                      • Boost.Asio Error
                                                                                                                      • Boost.Beast Error
                                                                                                                      -
                                                                                                                      +
                                                                                                                      MQTT reason code based errors
                                                                                                                      -
                                                                                                                      +
                                                                                                                      MQTT related error but not directly mapping to MQTT packets
                                                                                                                      • mqtt_error
                                                                                                                      • diff --git a/doc/api/search/all_10.js b/doc/api/search/all_10.js index 8aa00085c..23d6b01de 100644 --- a/doc/api/search/all_10.js +++ b/doc/api/search/all_10.js @@ -8,7 +8,7 @@ var searchData= ['no_5fmatching_5fsubscribers_5',['no_matching_subscribers',['../group__puback__reason__code.html#gga3129c11af64f00be426b3deae38158eeac0a88a9ad84f91a1953a28189d17c1d0',1,'no_matching_subscribersasync_mqtt'],['../group__pubrec__reason__code.html#ggab5231230a17ac40eda52d85e349b8339ac0a88a9ad84f91a1953a28189d17c1d0',1,'no_matching_subscribersasync_mqtt']]], ['no_5fsubscription_5fexisted_6',['no_subscription_existed',['../group__unsuback__reason__code.html#gga1c1aad570b8382ff16971161cad17cfea74bf95f0f8c63231b79e89a473d9da3a',1,'async_mqtt']]], ['normal_5fdisconnection_7',['normal_disconnection',['../group__disconnect__reason__code.html#gga15697ab1af4bc8686af3e88886db3565a31fe45844c214ec5ad8d824be3709a8d',1,'async_mqtt']]], - ['not_20directly_20mapping_20to_20mqtt_20packets_8',['MQTT related error but not directly mapping to MQTT packets',['../group__error__reporting.html#autotoc_md6',1,'']]], + ['not_20directly_20mapping_20to_20mqtt_20packets_8',['MQTT related error but not directly mapping to MQTT packets',['../group__error__reporting.html#autotoc_md7',1,'']]], ['not_5fauthorized_9',['not_authorized',['../group__connect__return__code.html#gga8342d3b4108d9bb325b95dbd9c0c6109a89a15d5a10ea1b37e1719c52c3507c0a',1,'not_authorizedasync_mqtt'],['../group__connect__reason__code.html#gga24f7ddcada0b756be2b7fd352820bbb1a89a15d5a10ea1b37e1719c52c3507c0a',1,'not_authorizedasync_mqtt'],['../group__disconnect__reason__code.html#gga15697ab1af4bc8686af3e88886db3565a89a15d5a10ea1b37e1719c52c3507c0a',1,'not_authorizedasync_mqtt'],['../group__suback__reason__code.html#ggac1d8426ede60ae4e6c723a7687542fc6a89a15d5a10ea1b37e1719c52c3507c0a',1,'not_authorizedasync_mqtt'],['../group__unsuback__reason__code.html#gga1c1aad570b8382ff16971161cad17cfea89a15d5a10ea1b37e1719c52c3507c0a',1,'not_authorizedasync_mqtt'],['../group__puback__reason__code.html#gga3129c11af64f00be426b3deae38158eea89a15d5a10ea1b37e1719c52c3507c0a',1,'not_authorizedasync_mqtt'],['../group__pubrec__reason__code.html#ggab5231230a17ac40eda52d85e349b8339a89a15d5a10ea1b37e1719c52c3507c0a',1,'not_authorizedasync_mqtt']]], ['not_5fsend_10',['not_send',['../group__subscribe__options.html#gga9ba40e799df5fa42cc6ef4a283679acaa9d5a4d4b722e2df32eff5ecfd18ccc60',1,'async_mqtt::sub']]], ['num_5fof_5fconst_5fbuffer_5fsequence_11',['num_of_const_buffer_sequence',['../classasync__mqtt_1_1property_1_1content__type.html#a265141ee1170abf0ed1af07b735c57a5',1,'async_mqtt::property::content_type::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1property_1_1response__topic.html#a0fb09bc2f0e193fc688ae554a876edbb',1,'async_mqtt::property::response_topic::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1property_1_1correlation__data.html#a0462f7eb558c8e1704ed252bacf067ab',1,'async_mqtt::property::correlation_data::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1property_1_1assigned__client__identifier.html#a966bd0f4e76003ec8afb15b86ed4c13e',1,'async_mqtt::property::assigned_client_identifier::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1property_1_1authentication__method.html#a2d21adb9e393154c05006253a4cb7e91',1,'async_mqtt::property::authentication_method::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1property_1_1authentication__data.html#a77ceeb8fcf9bf61d638bb07243018db2',1,'async_mqtt::property::authentication_data::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1property_1_1response__information.html#a9e8ce21b55b6bb49d150d6cefb115fbc',1,'async_mqtt::property::response_information::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1property_1_1server__reference.html#a113197e382b8cafb718ebbcf59058d8a',1,'async_mqtt::property::server_reference::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1property_1_1reason__string.html#a79333b38d6ef805743a5dd0f8091ec24',1,'async_mqtt::property::reason_string::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1property_1_1user__property.html#a8c6a09ea57ff7a9811ae27770a2ed7ff',1,'async_mqtt::property::user_property::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1property__variant.html#ae392639bdd2fd8dbceec12975b488863',1,'async_mqtt::property_variant::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v3__1__1_1_1connack__packet.html#aa05d67557a68b24350205b3c9c97d19b',1,'async_mqtt::v3_1_1::connack_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v3__1__1_1_1connect__packet.html#ac576a72255430e528c8f87f62a4ca9f7',1,'async_mqtt::v3_1_1::connect_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v3__1__1_1_1disconnect__packet.html#ab2267735ea344dcd9771a53955fda0a3',1,'async_mqtt::v3_1_1::disconnect_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v3__1__1_1_1pingreq__packet.html#a2d1a7d71a227201fad6cee6c1387a641',1,'async_mqtt::v3_1_1::pingreq_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v3__1__1_1_1pingresp__packet.html#a33a2508ec08439ba312c906c3ba67a0f',1,'async_mqtt::v3_1_1::pingresp_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v3__1__1_1_1basic__puback__packet.html#a410d33237c5267c84463a84a52332ee0',1,'async_mqtt::v3_1_1::basic_puback_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v3__1__1_1_1basic__pubcomp__packet.html#ab0d143ba83acee3429f775432d9e0446',1,'async_mqtt::v3_1_1::basic_pubcomp_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v3__1__1_1_1basic__publish__packet.html#a63192e7a76c7772d8c049197e3f6f9ba',1,'async_mqtt::v3_1_1::basic_publish_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v3__1__1_1_1basic__pubrec__packet.html#aed5477fdcdfb3960e31e7a705cf22779',1,'async_mqtt::v3_1_1::basic_pubrec_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v3__1__1_1_1basic__pubrel__packet.html#a63fffcedf0a20de70400f448487b306f',1,'async_mqtt::v3_1_1::basic_pubrel_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v3__1__1_1_1basic__suback__packet.html#adf4c363a5c1df30f964503a8268b5320',1,'async_mqtt::v3_1_1::basic_suback_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v3__1__1_1_1basic__subscribe__packet.html#a7ae627c7b72866c2279fc1d877b562c4',1,'async_mqtt::v3_1_1::basic_subscribe_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v3__1__1_1_1basic__unsuback__packet.html#a6ab54aec5a34ef9b4fddeedbc839189b',1,'async_mqtt::v3_1_1::basic_unsuback_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v3__1__1_1_1basic__unsubscribe__packet.html#a0b779ea8ece0fc8a85a80fb8ff311541',1,'async_mqtt::v3_1_1::basic_unsubscribe_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v5_1_1auth__packet.html#a0179a7be66635fc87a74c26013a1a0b9',1,'async_mqtt::v5::auth_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v5_1_1connack__packet.html#a375cdeb635a69a14b0bbf85e80976aca',1,'async_mqtt::v5::connack_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v5_1_1connect__packet.html#aef1e4808dd66b1685807395d4ab17558',1,'async_mqtt::v5::connect_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v5_1_1disconnect__packet.html#a7cb2a9e1485ff0cdfcc2abcc09294481',1,'async_mqtt::v5::disconnect_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v5_1_1pingreq__packet.html#a6f7bbdda07b290fc8a12623cbbbf5e13',1,'async_mqtt::v5::pingreq_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v5_1_1pingresp__packet.html#a92f60858954a637d306c4cce1f277262',1,'async_mqtt::v5::pingresp_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v5_1_1basic__puback__packet.html#a23a085d8784e16d2312db8547fb169ee',1,'async_mqtt::v5::basic_puback_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v5_1_1basic__pubcomp__packet.html#a4deeccf022e910a232e5ca454315fdf0',1,'async_mqtt::v5::basic_pubcomp_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v5_1_1basic__publish__packet.html#a095a72bb89384d8d6417eaf8c5364069',1,'async_mqtt::v5::basic_publish_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v5_1_1basic__pubrec__packet.html#a8f42401813b5270383a1acdab9567c16',1,'async_mqtt::v5::basic_pubrec_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v5_1_1basic__pubrel__packet.html#a10665c12a573ce234c1e7e8cd27b94dc',1,'async_mqtt::v5::basic_pubrel_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v5_1_1basic__suback__packet.html#ae39d429d44147449654029d1335d1e9c',1,'async_mqtt::v5::basic_suback_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v5_1_1basic__subscribe__packet.html#ad8cd5b3076523e7b442808c582a73f03',1,'async_mqtt::v5::basic_subscribe_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v5_1_1basic__unsuback__packet.html#a4d2daa3940d2f87e658576c7f48598fb',1,'async_mqtt::v5::basic_unsuback_packet::num_of_const_buffer_sequence()'],['../classasync__mqtt_1_1v5_1_1basic__unsubscribe__packet.html#a1f293f5bb8b724a8570d88a40c1c4543',1,'async_mqtt::v5::basic_unsubscribe_packet::num_of_const_buffer_sequence()']]] diff --git a/doc/api/search/all_12.js b/doc/api/search/all_12.js index 6d67638f1..ae42b1310 100644 --- a/doc/api/search/all_12.js +++ b/doc/api/search/all_12.js @@ -17,7 +17,7 @@ var searchData= ['packet_5ftoo_5flarge_14',['packet_too_large',['../group__connect__reason__code.html#gga24f7ddcada0b756be2b7fd352820bbb1ab0ea4571270a5faae9e13edf8b2a4859',1,'packet_too_largeasync_mqtt'],['../group__disconnect__reason__code.html#gga15697ab1af4bc8686af3e88886db3565ab0ea4571270a5faae9e13edf8b2a4859',1,'packet_too_largeasync_mqtt']]], ['packet_5fvariant_15',['packet_variant',['../group__packet__variant.html#ga56df875fd46e22c7dfc411481a2369c2',1,'async_mqtt::basic_packet_variant']]], ['packet_5fvariant_5ftype_16',['packet_variant_type',['../classasync__mqtt_1_1basic__endpoint.html#a5098e22b58adbee93e452ede78ab1adc',1,'async_mqtt::basic_endpoint']]], - ['packets_17',['packets',['../group__packet.html',1,'MQTT packets'],['../group__error__reporting.html#autotoc_md6',1,'MQTT related error but not directly mapping to MQTT packets'],['../group__property.html',1,'Property for MQTT v5.0 packets'],['../group__packet__variant.html',1,'variant class for all packets']]], + ['packets_17',['packets',['../group__packet.html',1,'MQTT packets'],['../group__error__reporting.html#autotoc_md7',1,'MQTT related error but not directly mapping to MQTT packets'],['../group__property.html',1,'Property for MQTT v5.0 packets'],['../group__packet__variant.html',1,'variant class for all packets']]], ['packets_20publish_20pubrel_18',['variant class for stored packets (PUBLISH, PUBREL)',['../group__store__packet__variant.html',1,'']]], ['partial_5ferror_5fdetected_19',['partial_error_detected',['../group__mqtt__error.html#ggab680615570fddcfb9aab72ea9e9d2acea13bfb719ca3c626b0539a1646d46e584',1,'async_mqtt']]], ['password_20',['password',['../classasync__mqtt_1_1v3__1__1_1_1connect__packet.html#a0b2fc596c4da3265296628bb379d3246',1,'async_mqtt::v3_1_1::connect_packet::password()'],['../classasync__mqtt_1_1v5_1_1connect__packet.html#afed0e65fc571e2b8eacef71c034525f0',1,'async_mqtt::v5::connect_packet::password()']]], diff --git a/doc/api/search/all_14.js b/doc/api/search/all_14.js index 039e33bd9..b0416d006 100644 --- a/doc/api/search/all_14.js +++ b/doc/api/search/all_14.js @@ -4,7 +4,7 @@ var searchData= ['rap_5fto_5fstr_1',['rap_to_str',['../group__subscribe__options.html#gab1d185ccae3b8beecb35d89a7207a132',1,'async_mqtt::sub::opts']]], ['rbegin_2',['rbegin',['../classasync__mqtt_1_1buffer.html#a114d7ad7bdf186c19ead1682e8a29ab6',1,'async_mqtt::buffer']]], ['re_5fauthenticate_3',['re_authenticate',['../group__auth__reason__code.html#gga90f5a0229709aaa4257d01db383f9763ace8cff1135956ea6a10c328a829277d2',1,'async_mqtt']]], - ['reason_20code_20based_20errors_4',['MQTT reason code based errors',['../group__error__reporting.html#autotoc_md5',1,'']]], + ['reason_20code_20based_20errors_4',['MQTT reason code based errors',['../group__error__reporting.html#autotoc_md6',1,'']]], ['reason_5fstring_5',['reason_string',['../classasync__mqtt_1_1property_1_1reason__string.html',1,'async_mqtt::property::reason_string'],['../classasync__mqtt_1_1property_1_1reason__string.html#a82ce0999484c4074a5c23fcc5963e333',1,'async_mqtt::property::reason_string::reason_string()'],['../group__property.html#gga5cb48750d7fa394639fc0dada2c34f89a0dd03024882feda67879d489ac41a6fe',1,'reason_stringasync_mqtt::property']]], ['rebind_5fexecutor_6',['rebind_executor',['../structasync__mqtt_1_1basic__endpoint_1_1rebind__executor.html',1,'async_mqtt::basic_endpoint< Role, PacketIdBytes, NextLayer >::rebind_executor< Executor1 >'],['../structasync__mqtt_1_1client_1_1rebind__executor.html',1,'async_mqtt::client< Version, NextLayer >::rebind_executor< Executor1 >']]], ['receive_5fmaximum_7',['receive_maximum',['../classasync__mqtt_1_1property_1_1receive__maximum.html',1,'async_mqtt::property::receive_maximum'],['../classasync__mqtt_1_1property_1_1receive__maximum.html#a2aad8f9236fb4c76ac3ad289c8d4460a',1,'async_mqtt::property::receive_maximum::receive_maximum()'],['../group__property.html#gga5cb48750d7fa394639fc0dada2c34f89a7f75c91fc61e79e480ea2b9d7fcb36a5',1,'receive_maximumasync_mqtt::property']]], @@ -13,7 +13,7 @@ var searchData= ['reference_20counting_20immutable_20buffer_10',['Reference counting immutable buffer',['../group__buffer.html',1,'']]], ['register_5fpacket_5fid_11',['register_packet_id',['../classasync__mqtt_1_1client.html#a2a7414f348afda7a9059135338ddaadc',1,'async_mqtt::client::register_packet_id()'],['../classasync__mqtt_1_1basic__endpoint.html#adaff45fdd6e9bc61001b1ac936040c01',1,'async_mqtt::basic_endpoint::register_packet_id(typename basic_packet_id_type< PacketIdBytes >::type packet_id)']]], ['regulate_5ffor_5fstore_12',['regulate_for_store',['../classasync__mqtt_1_1basic__endpoint.html#a60da2cf90573114b7a0bfb720cf30a9b',1,'async_mqtt::basic_endpoint']]], - ['related_20error_20but_20not_20directly_20mapping_20to_20mqtt_20packets_13',['MQTT related error but not directly mapping to MQTT packets',['../group__error__reporting.html#autotoc_md6',1,'']]], + ['related_20error_20but_20not_20directly_20mapping_20to_20mqtt_20packets_13',['MQTT related error but not directly mapping to MQTT packets',['../group__error__reporting.html#autotoc_md7',1,'']]], ['release_5fpacket_5fid_14',['release_packet_id',['../classasync__mqtt_1_1client.html#a5e091785f9ed21afc1aeaf9a09ccebb2',1,'async_mqtt::client::release_packet_id()'],['../classasync__mqtt_1_1basic__endpoint.html#ae72fa838272da0e140e5ad1acf24463b',1,'async_mqtt::basic_endpoint::release_packet_id()']]], ['remove_5fprefix_15',['remove_prefix',['../classasync__mqtt_1_1buffer.html#a32b4cc2dd0ffb3edcf65361f8e12a62d',1,'async_mqtt::buffer']]], ['remove_5fsuffix_16',['remove_suffix',['../classasync__mqtt_1_1buffer.html#a423e1a01c90d85823a943dab3aa364f9',1,'async_mqtt::buffer']]], diff --git a/doc/api/search/all_15.js b/doc/api/search/all_15.js index 55d22bf0b..f58266f98 100644 --- a/doc/api/search/all_15.js +++ b/doc/api/search/all_15.js @@ -1,6 +1,6 @@ var searchData= [ - ['safety_0',['Safety',['../classasync__mqtt_1_1client.html#autotoc_md0',1,'Thread Safety'],['../classasync__mqtt_1_1basic__endpoint.html#autotoc_md2',1,'Thread Safety'],['../classasync__mqtt_1_1basic__packet__variant.html#autotoc_md7',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1payload__format__indicator.html#autotoc_md8',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1message__expiry__interval.html#autotoc_md9',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1content__type.html#autotoc_md10',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1response__topic.html#autotoc_md11',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1correlation__data.html#autotoc_md12',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1subscription__identifier.html#autotoc_md13',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1session__expiry__interval.html#autotoc_md14',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1assigned__client__identifier.html#autotoc_md15',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1server__keep__alive.html#autotoc_md16',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1authentication__method.html#autotoc_md17',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1authentication__data.html#autotoc_md18',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1request__problem__information.html#autotoc_md19',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1will__delay__interval.html#autotoc_md20',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1request__response__information.html#autotoc_md21',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1response__information.html#autotoc_md22',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1server__reference.html#autotoc_md23',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1reason__string.html#autotoc_md24',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1receive__maximum.html#autotoc_md25',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1topic__alias__maximum.html#autotoc_md26',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1topic__alias.html#autotoc_md27',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1maximum__qos.html#autotoc_md28',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1retain__available.html#autotoc_md29',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1user__property.html#autotoc_md30',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1maximum__packet__size.html#autotoc_md31',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1wildcard__subscription__available.html#autotoc_md32',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1subscription__identifier__available.html#autotoc_md33',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1shared__subscription__available.html#autotoc_md34',1,'Thread Safety'],['../classasync__mqtt_1_1property__variant.html#autotoc_md35',1,'Thread Safety'],['../structasync__mqtt_1_1pub_1_1opts.html#autotoc_md36',1,'Thread Safety'],['../structasync__mqtt_1_1sub_1_1opts.html#autotoc_md37',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1connack__packet.html#autotoc_md38',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1connect__packet.html#autotoc_md39',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1disconnect__packet.html#autotoc_md40',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1pingreq__packet.html#autotoc_md41',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1pingresp__packet.html#autotoc_md42',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__puback__packet.html#autotoc_md43',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__pubcomp__packet.html#autotoc_md44',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__publish__packet.html#autotoc_md45',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__pubrec__packet.html#autotoc_md46',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__pubrel__packet.html#autotoc_md47',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__suback__packet.html#autotoc_md48',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__subscribe__packet.html#autotoc_md49',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__unsuback__packet.html#autotoc_md50',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__unsubscribe__packet.html#autotoc_md51',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1auth__packet.html#autotoc_md52',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1connack__packet.html#autotoc_md53',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1connect__packet.html#autotoc_md54',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1disconnect__packet.html#autotoc_md55',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1pingreq__packet.html#autotoc_md56',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1pingresp__packet.html#autotoc_md57',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__puback__packet.html#autotoc_md58',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__pubcomp__packet.html#autotoc_md59',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__publish__packet.html#autotoc_md60',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__pubrec__packet.html#autotoc_md61',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__pubrel__packet.html#autotoc_md62',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__suback__packet.html#autotoc_md63',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__subscribe__packet.html#autotoc_md64',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__unsuback__packet.html#autotoc_md65',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__unsubscribe__packet.html#autotoc_md66',1,'Thread Safety'],['../classasync__mqtt_1_1will.html#autotoc_md67',1,'Thread Safety']]], + ['safety_0',['Safety',['../classasync__mqtt_1_1client.html#autotoc_md0',1,'Thread Safety'],['../classasync__mqtt_1_1basic__endpoint.html#autotoc_md2',1,'Thread Safety'],['../group__endpoint.html#autotoc_md3',1,'Thread Safety'],['../classasync__mqtt_1_1basic__packet__variant.html#autotoc_md8',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1payload__format__indicator.html#autotoc_md9',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1message__expiry__interval.html#autotoc_md10',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1content__type.html#autotoc_md11',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1response__topic.html#autotoc_md12',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1correlation__data.html#autotoc_md13',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1subscription__identifier.html#autotoc_md14',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1session__expiry__interval.html#autotoc_md15',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1assigned__client__identifier.html#autotoc_md16',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1server__keep__alive.html#autotoc_md17',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1authentication__method.html#autotoc_md18',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1authentication__data.html#autotoc_md19',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1request__problem__information.html#autotoc_md20',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1will__delay__interval.html#autotoc_md21',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1request__response__information.html#autotoc_md22',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1response__information.html#autotoc_md23',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1server__reference.html#autotoc_md24',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1reason__string.html#autotoc_md25',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1receive__maximum.html#autotoc_md26',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1topic__alias__maximum.html#autotoc_md27',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1topic__alias.html#autotoc_md28',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1maximum__qos.html#autotoc_md29',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1retain__available.html#autotoc_md30',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1user__property.html#autotoc_md31',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1maximum__packet__size.html#autotoc_md32',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1wildcard__subscription__available.html#autotoc_md33',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1subscription__identifier__available.html#autotoc_md34',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1shared__subscription__available.html#autotoc_md35',1,'Thread Safety'],['../classasync__mqtt_1_1property__variant.html#autotoc_md36',1,'Thread Safety'],['../structasync__mqtt_1_1pub_1_1opts.html#autotoc_md37',1,'Thread Safety'],['../structasync__mqtt_1_1sub_1_1opts.html#autotoc_md38',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1connack__packet.html#autotoc_md39',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1connect__packet.html#autotoc_md40',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1disconnect__packet.html#autotoc_md41',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1pingreq__packet.html#autotoc_md42',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1pingresp__packet.html#autotoc_md43',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__puback__packet.html#autotoc_md44',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__pubcomp__packet.html#autotoc_md45',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__publish__packet.html#autotoc_md46',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__pubrec__packet.html#autotoc_md47',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__pubrel__packet.html#autotoc_md48',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__suback__packet.html#autotoc_md49',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__subscribe__packet.html#autotoc_md50',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__unsuback__packet.html#autotoc_md51',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__unsubscribe__packet.html#autotoc_md52',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1auth__packet.html#autotoc_md53',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1connack__packet.html#autotoc_md54',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1connect__packet.html#autotoc_md55',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1disconnect__packet.html#autotoc_md56',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1pingreq__packet.html#autotoc_md57',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1pingresp__packet.html#autotoc_md58',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__puback__packet.html#autotoc_md59',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__pubcomp__packet.html#autotoc_md60',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__publish__packet.html#autotoc_md61',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__pubrec__packet.html#autotoc_md62',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__pubrel__packet.html#autotoc_md63',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__suback__packet.html#autotoc_md64',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__subscribe__packet.html#autotoc_md65',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__unsuback__packet.html#autotoc_md66',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__unsubscribe__packet.html#autotoc_md67',1,'Thread Safety'],['../classasync__mqtt_1_1will.html#autotoc_md68',1,'Thread Safety']]], ['send_1',['send',['../group__subscribe__options.html#gga9ba40e799df5fa42cc6ef4a283679acaa2541d938b0a58946090d7abdde0d3890',1,'async_mqtt::sub']]], ['send_5fonly_5fnew_5fsubscription_2',['send_only_new_subscription',['../group__subscribe__options.html#gga9ba40e799df5fa42cc6ef4a283679acaa192b8c04969ab388ce5264194247e9b0',1,'async_mqtt::sub']]], ['server_3',['server',['../group__role.html#gga83492944f4f6b69eb11ce917d1f27c4aacf1e8c14e54505f60aa10ceb8d5d8ab3',1,'async_mqtt']]], diff --git a/doc/api/search/all_16.js b/doc/api/search/all_16.js index efdc79764..4522407d9 100644 --- a/doc/api/search/all_16.js +++ b/doc/api/search/all_16.js @@ -1,10 +1,10 @@ var searchData= [ ['tcp_0',['predefined underlying layer (TCP)',['../group__predefined__layer__mqtt.html',1,'']]], - ['thread_20safety_1',['Thread Safety',['../classasync__mqtt_1_1client.html#autotoc_md0',1,'Thread Safety'],['../classasync__mqtt_1_1basic__endpoint.html#autotoc_md2',1,'Thread Safety'],['../classasync__mqtt_1_1basic__packet__variant.html#autotoc_md7',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1payload__format__indicator.html#autotoc_md8',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1message__expiry__interval.html#autotoc_md9',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1content__type.html#autotoc_md10',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1response__topic.html#autotoc_md11',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1correlation__data.html#autotoc_md12',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1subscription__identifier.html#autotoc_md13',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1session__expiry__interval.html#autotoc_md14',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1assigned__client__identifier.html#autotoc_md15',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1server__keep__alive.html#autotoc_md16',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1authentication__method.html#autotoc_md17',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1authentication__data.html#autotoc_md18',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1request__problem__information.html#autotoc_md19',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1will__delay__interval.html#autotoc_md20',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1request__response__information.html#autotoc_md21',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1response__information.html#autotoc_md22',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1server__reference.html#autotoc_md23',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1reason__string.html#autotoc_md24',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1receive__maximum.html#autotoc_md25',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1topic__alias__maximum.html#autotoc_md26',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1topic__alias.html#autotoc_md27',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1maximum__qos.html#autotoc_md28',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1retain__available.html#autotoc_md29',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1user__property.html#autotoc_md30',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1maximum__packet__size.html#autotoc_md31',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1wildcard__subscription__available.html#autotoc_md32',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1subscription__identifier__available.html#autotoc_md33',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1shared__subscription__available.html#autotoc_md34',1,'Thread Safety'],['../classasync__mqtt_1_1property__variant.html#autotoc_md35',1,'Thread Safety'],['../structasync__mqtt_1_1pub_1_1opts.html#autotoc_md36',1,'Thread Safety'],['../structasync__mqtt_1_1sub_1_1opts.html#autotoc_md37',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1connack__packet.html#autotoc_md38',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1connect__packet.html#autotoc_md39',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1disconnect__packet.html#autotoc_md40',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1pingreq__packet.html#autotoc_md41',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1pingresp__packet.html#autotoc_md42',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__puback__packet.html#autotoc_md43',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__pubcomp__packet.html#autotoc_md44',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__publish__packet.html#autotoc_md45',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__pubrec__packet.html#autotoc_md46',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__pubrel__packet.html#autotoc_md47',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__suback__packet.html#autotoc_md48',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__subscribe__packet.html#autotoc_md49',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__unsuback__packet.html#autotoc_md50',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__unsubscribe__packet.html#autotoc_md51',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1auth__packet.html#autotoc_md52',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1connack__packet.html#autotoc_md53',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1connect__packet.html#autotoc_md54',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1disconnect__packet.html#autotoc_md55',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1pingreq__packet.html#autotoc_md56',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1pingresp__packet.html#autotoc_md57',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__puback__packet.html#autotoc_md58',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__pubcomp__packet.html#autotoc_md59',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__publish__packet.html#autotoc_md60',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__pubrec__packet.html#autotoc_md61',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__pubrel__packet.html#autotoc_md62',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__suback__packet.html#autotoc_md63',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__subscribe__packet.html#autotoc_md64',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__unsuback__packet.html#autotoc_md65',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__unsubscribe__packet.html#autotoc_md66',1,'Thread Safety'],['../classasync__mqtt_1_1will.html#autotoc_md67',1,'Thread Safety']]], + ['thread_20safety_1',['Thread Safety',['../classasync__mqtt_1_1client.html#autotoc_md0',1,'Thread Safety'],['../classasync__mqtt_1_1basic__endpoint.html#autotoc_md2',1,'Thread Safety'],['../group__endpoint.html#autotoc_md3',1,'Thread Safety'],['../classasync__mqtt_1_1basic__packet__variant.html#autotoc_md8',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1payload__format__indicator.html#autotoc_md9',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1message__expiry__interval.html#autotoc_md10',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1content__type.html#autotoc_md11',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1response__topic.html#autotoc_md12',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1correlation__data.html#autotoc_md13',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1subscription__identifier.html#autotoc_md14',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1session__expiry__interval.html#autotoc_md15',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1assigned__client__identifier.html#autotoc_md16',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1server__keep__alive.html#autotoc_md17',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1authentication__method.html#autotoc_md18',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1authentication__data.html#autotoc_md19',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1request__problem__information.html#autotoc_md20',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1will__delay__interval.html#autotoc_md21',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1request__response__information.html#autotoc_md22',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1response__information.html#autotoc_md23',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1server__reference.html#autotoc_md24',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1reason__string.html#autotoc_md25',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1receive__maximum.html#autotoc_md26',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1topic__alias__maximum.html#autotoc_md27',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1topic__alias.html#autotoc_md28',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1maximum__qos.html#autotoc_md29',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1retain__available.html#autotoc_md30',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1user__property.html#autotoc_md31',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1maximum__packet__size.html#autotoc_md32',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1wildcard__subscription__available.html#autotoc_md33',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1subscription__identifier__available.html#autotoc_md34',1,'Thread Safety'],['../classasync__mqtt_1_1property_1_1shared__subscription__available.html#autotoc_md35',1,'Thread Safety'],['../classasync__mqtt_1_1property__variant.html#autotoc_md36',1,'Thread Safety'],['../structasync__mqtt_1_1pub_1_1opts.html#autotoc_md37',1,'Thread Safety'],['../structasync__mqtt_1_1sub_1_1opts.html#autotoc_md38',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1connack__packet.html#autotoc_md39',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1connect__packet.html#autotoc_md40',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1disconnect__packet.html#autotoc_md41',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1pingreq__packet.html#autotoc_md42',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1pingresp__packet.html#autotoc_md43',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__puback__packet.html#autotoc_md44',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__pubcomp__packet.html#autotoc_md45',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__publish__packet.html#autotoc_md46',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__pubrec__packet.html#autotoc_md47',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__pubrel__packet.html#autotoc_md48',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__suback__packet.html#autotoc_md49',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__subscribe__packet.html#autotoc_md50',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__unsuback__packet.html#autotoc_md51',1,'Thread Safety'],['../classasync__mqtt_1_1v3__1__1_1_1basic__unsubscribe__packet.html#autotoc_md52',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1auth__packet.html#autotoc_md53',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1connack__packet.html#autotoc_md54',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1connect__packet.html#autotoc_md55',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1disconnect__packet.html#autotoc_md56',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1pingreq__packet.html#autotoc_md57',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1pingresp__packet.html#autotoc_md58',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__puback__packet.html#autotoc_md59',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__pubcomp__packet.html#autotoc_md60',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__publish__packet.html#autotoc_md61',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__pubrec__packet.html#autotoc_md62',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__pubrel__packet.html#autotoc_md63',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__suback__packet.html#autotoc_md64',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__subscribe__packet.html#autotoc_md65',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__unsuback__packet.html#autotoc_md66',1,'Thread Safety'],['../classasync__mqtt_1_1v5_1_1basic__unsubscribe__packet.html#autotoc_md67',1,'Thread Safety'],['../classasync__mqtt_1_1will.html#autotoc_md68',1,'Thread Safety']]], ['tls_2',['TLS',['../group__predefined__layer__mqtts.html',1,'predefined underlying layer (TLS)'],['../group__predefined__layer__wss.html',1,'predefined underlying layer (Websocket on TLS)']]], ['to_20adapt_20your_20own_20layer_3',['predefined underlying layers and how to adapt your own layer',['../group__underlying__layer.html',1,'']]], - ['to_20mqtt_20packets_4',['MQTT related error but not directly mapping to MQTT packets',['../group__error__reporting.html#autotoc_md6',1,'']]], + ['to_20mqtt_20packets_4',['MQTT related error but not directly mapping to MQTT packets',['../group__error__reporting.html#autotoc_md7',1,'']]], ['to_5fstring_5',['to_string',['../group__packet.html#gafee13aa0c1d5f6dd67880b852f6c361f',1,'async_mqtt']]], ['topic_6',['topic',['../classasync__mqtt_1_1topic__sharename.html#a00a0a1e46153675cd9516f3548ca2c8a',1,'async_mqtt::topic_sharename::topic()'],['../classasync__mqtt_1_1topic__subopts.html#aa804e1f10e63c87f1959f4c1a64aa957',1,'async_mqtt::topic_subopts::topic()'],['../classasync__mqtt_1_1v3__1__1_1_1basic__publish__packet.html#ad6a9207d4560aa73023351bffbf93b0f',1,'async_mqtt::v3_1_1::basic_publish_packet::topic()'],['../classasync__mqtt_1_1v5_1_1basic__publish__packet.html#ae0faf57b5cb3a694e36435e294ad5ed5',1,'async_mqtt::v5::basic_publish_packet::topic()'],['../classasync__mqtt_1_1will.html#a50d441a11634ffb99cff921f5ed7cf87',1,'async_mqtt::will::topic()']]], ['topic_5falias_7',['topic_alias',['../classasync__mqtt_1_1property_1_1topic__alias.html',1,'async_mqtt::property::topic_alias'],['../classasync__mqtt_1_1property_1_1topic__alias.html#a8964d0eccfec19f5d3928ec33e01556e',1,'async_mqtt::property::topic_alias::topic_alias()'],['../group__property.html#gga5cb48750d7fa394639fc0dada2c34f89abb3e84e5ef8c867872e4fefc946b6cf5',1,'topic_aliasasync_mqtt::property']]], diff --git a/doc/api/search/all_17.js b/doc/api/search/all_17.js index 3ea31550e..0407b3bbd 100644 --- a/doc/api/search/all_17.js +++ b/doc/api/search/all_17.js @@ -2,7 +2,7 @@ var searchData= [ ['unacceptable_5fprotocol_5fversion_0',['unacceptable_protocol_version',['../group__connect__return__code.html#gga8342d3b4108d9bb325b95dbd9c0c6109aa9b8a4c21e2b1fa3780625fe15465bca',1,'async_mqtt']]], ['underlying_20customize_1',['predefined underlying customize',['../group__predefined__customize.html',1,'']]], - ['underlying_20errors_2',['Underlying errors',['../group__error__reporting.html#autotoc_md4',1,'']]], + ['underlying_20errors_2',['Underlying errors',['../group__error__reporting.html#autotoc_md5',1,'']]], ['underlying_20layer_20customization_3',['underlying layer customization',['../group__underlying__customize.html',1,'']]], ['underlying_20layer_20tcp_4',['predefined underlying layer (TCP)',['../group__predefined__layer__mqtt.html',1,'']]], ['underlying_20layer_20tls_5',['predefined underlying layer (TLS)',['../group__predefined__layer__mqtts.html',1,'']]], diff --git a/doc/api/search/all_5.js b/doc/api/search/all_5.js index d74240078..c6b09c73b 100644 --- a/doc/api/search/all_5.js +++ b/doc/api/search/all_5.js @@ -4,7 +4,7 @@ var searchData= ['bad_5fauthentication_5fmethod_1',['bad_authentication_method',['../group__connect__reason__code.html#gga24f7ddcada0b756be2b7fd352820bbb1a8174d6e415531206adb47ac821c3c099',1,'async_mqtt']]], ['bad_5fuser_5fname_5for_5fpassword_2',['bad_user_name_or_password',['../group__connect__return__code.html#gga8342d3b4108d9bb325b95dbd9c0c6109abe32e8f8c93b3707303fb6cf9eb1a8b8',1,'bad_user_name_or_passwordasync_mqtt'],['../group__connect__reason__code.html#gga24f7ddcada0b756be2b7fd352820bbb1abe32e8f8c93b3707303fb6cf9eb1a8b8',1,'bad_user_name_or_passwordasync_mqtt']]], ['banned_3',['banned',['../group__connect__reason__code.html#gga24f7ddcada0b756be2b7fd352820bbb1a0dd544ca4ccb44f6ed5cf12555859eb7',1,'async_mqtt']]], - ['based_20errors_4',['MQTT reason code based errors',['../group__error__reporting.html#autotoc_md5',1,'']]], + ['based_20errors_4',['MQTT reason code based errors',['../group__error__reporting.html#autotoc_md6',1,'']]], ['basic_5fendpoint_5',['basic_endpoint',['../classasync__mqtt_1_1basic__endpoint.html',1,'async_mqtt::basic_endpoint< Role, PacketIdBytes, NextLayer >'],['../classasync__mqtt_1_1basic__endpoint.html#a9f5a4b56044d5b32a8c85030502045c3',1,'async_mqtt::basic_endpoint::basic_endpoint(this_type const &)=delete'],['../classasync__mqtt_1_1basic__endpoint.html#ac9ca993fb5332cd9a894c08a387e1ae5',1,'async_mqtt::basic_endpoint::basic_endpoint(this_type &&)=delete']]], ['basic_5fpacket_5fid_5ftype_6',['basic_packet_id_type',['../structasync__mqtt_1_1basic__packet__id__type.html',1,'async_mqtt']]], ['basic_5fpacket_5fvariant_7',['basic_packet_variant',['../classasync__mqtt_1_1basic__packet__variant.html',1,'async_mqtt::basic_packet_variant< PacketIdBytes >'],['../classasync__mqtt_1_1basic__packet__variant.html#a17a23fa4a26ad3fe67a831da41527ad2',1,'async_mqtt::basic_packet_variant::basic_packet_variant()=default'],['../classasync__mqtt_1_1basic__packet__variant.html#a8f9c3e84ebae1e4eb0955988ceb11450',1,'async_mqtt::basic_packet_variant::basic_packet_variant(Packet &&packet)']]], @@ -25,5 +25,5 @@ var searchData= ['buffer_22',['buffer',['../classasync__mqtt_1_1buffer.html',1,'async_mqtt::buffer'],['../classasync__mqtt_1_1buffer.html#a322bad7e07196362bf2fa26d9c2b4f4f',1,'async_mqtt::buffer::buffer() noexcept=default'],['../classasync__mqtt_1_1buffer.html#a088947de7fb4d32454075ca12a8cd6c5',1,'async_mqtt::buffer::buffer(buffer const &other)=default'],['../classasync__mqtt_1_1buffer.html#a1b5fcfee9e7ed812e29ac77e991fcf24',1,'async_mqtt::buffer::buffer(buffer &&other)=default'],['../classasync__mqtt_1_1buffer.html#a89dadefc440669338abeff8e8f282d45',1,'async_mqtt::buffer::buffer(char const *s, std::size_t count)'],['../classasync__mqtt_1_1buffer.html#a92d4036fb9070e0be851fa133b20c9b9',1,'async_mqtt::buffer::buffer(char const *s)'],['../classasync__mqtt_1_1buffer.html#a6354f235a64c4441d85d5874f341e2fe',1,'async_mqtt::buffer::buffer(It first, End last)'],['../classasync__mqtt_1_1buffer.html#ac8ec6154fe9b524a5722848ea21fa7e0',1,'async_mqtt::buffer::buffer(std::string_view sv)'],['../classasync__mqtt_1_1buffer.html#a24b4b37514e88ef089ef7b52b8293d0d',1,'async_mqtt::buffer::buffer(std::string s)'],['../classasync__mqtt_1_1buffer.html#a55fb8cd69efe05757c164e8c87d0b76c',1,'async_mqtt::buffer::buffer(std::string_view sv, std::shared_ptr< void > life)'],['../classasync__mqtt_1_1buffer.html#a55447262777041aa99c4c260382670fc',1,'async_mqtt::buffer::buffer(char const *s, std::size_t count, std::shared_ptr< void > life)'],['../classasync__mqtt_1_1buffer.html#aceb1698f2803378a97b415e53b9f6a1c',1,'async_mqtt::buffer::buffer(It first, End last, std::shared_ptr< void > life)'],['../group__buffer.html#gafccb94aa6be5a8e224e1b900e9522b4f',1,'boost::asio::buffer()'],['../group__buffer.html',1,'Reference counting immutable buffer']]], ['buffer_5fto_5fbasic_5fpacket_5fvariant_23',['buffer_to_basic_packet_variant',['../group__packet__variant.html#ga39cc93da54ca811e375a6ce503290ea5',1,'async_mqtt']]], ['buffer_5fto_5fpacket_5fvariant_24',['buffer_to_packet_variant',['../group__packet__variant.html#ga4c231bc518bf04660df728b1832029e2',1,'async_mqtt']]], - ['but_20not_20directly_20mapping_20to_20mqtt_20packets_25',['MQTT related error but not directly mapping to MQTT packets',['../group__error__reporting.html#autotoc_md6',1,'']]] + ['but_20not_20directly_20mapping_20to_20mqtt_20packets_25',['MQTT related error but not directly mapping to MQTT packets',['../group__error__reporting.html#autotoc_md7',1,'']]] ]; diff --git a/doc/api/search/all_6.js b/doc/api/search/all_6.js index 6611dda47..932a960cb 100644 --- a/doc/api/search/all_6.js +++ b/doc/api/search/all_6.js @@ -15,7 +15,7 @@ var searchData= ['client_5fid_12',['client_id',['../classasync__mqtt_1_1v3__1__1_1_1connect__packet.html#a3a494302ed12606ba6e907c8810f0ca6',1,'async_mqtt::v3_1_1::connect_packet::client_id()'],['../classasync__mqtt_1_1v5_1_1connect__packet.html#ad7fa9b1e168d2ad324cdfcf8925628d9',1,'async_mqtt::v5::connect_packet::client_id()']]], ['client_5fidentifier_5fnot_5fvalid_13',['client_identifier_not_valid',['../group__connect__reason__code.html#gga24f7ddcada0b756be2b7fd352820bbb1a44f4bb5239131103b80eed1e979eee7f',1,'async_mqtt']]], ['code_14',['code',['../classasync__mqtt_1_1v3__1__1_1_1connack__packet.html#ac2739356f6ba7a96a40ce0603d632093',1,'async_mqtt::v3_1_1::connack_packet::code()'],['../classasync__mqtt_1_1v5_1_1auth__packet.html#aac22f4d07a286273b3110258a872c0fc',1,'async_mqtt::v5::auth_packet::code()'],['../classasync__mqtt_1_1v5_1_1connack__packet.html#a7fc18769b638a100d65300ae84022330',1,'async_mqtt::v5::connack_packet::code()'],['../classasync__mqtt_1_1v5_1_1disconnect__packet.html#a266b66b6c83ae212720cb9c6d3230273',1,'async_mqtt::v5::disconnect_packet::code()'],['../classasync__mqtt_1_1v5_1_1basic__puback__packet.html#a9ff420757a073efa336ef4555cef12cf',1,'async_mqtt::v5::basic_puback_packet::code()'],['../classasync__mqtt_1_1v5_1_1basic__pubcomp__packet.html#a1aae36a6c1d3aa4690001368686da800',1,'async_mqtt::v5::basic_pubcomp_packet::code()'],['../classasync__mqtt_1_1v5_1_1basic__pubrec__packet.html#a18acb9fd8d4404d7ba64f2489630e84c',1,'async_mqtt::v5::basic_pubrec_packet::code()'],['../classasync__mqtt_1_1v5_1_1basic__pubrel__packet.html#a7f928cc17d9608e2930c2ed1b92608e3',1,'async_mqtt::v5::basic_pubrel_packet::code()']]], - ['code_20based_20errors_15',['MQTT reason code based errors',['../group__error__reporting.html#autotoc_md5',1,'']]], + ['code_20based_20errors_15',['MQTT reason code based errors',['../group__error__reporting.html#autotoc_md6',1,'']]], ['compare_16',['compare',['../classasync__mqtt_1_1buffer.html#aa7b3127002e0a9f2f0641ecad4daea24',1,'async_mqtt::buffer::compare(buffer const &buf) const noexcept'],['../classasync__mqtt_1_1buffer.html#ae3256c4c867f85ebbe95ac1f83381a2a',1,'async_mqtt::buffer::compare(std::string_view const &v) const noexcept'],['../classasync__mqtt_1_1buffer.html#aa87697e3a25d39f5cf79f86c0ceed63a',1,'async_mqtt::buffer::compare(size_type pos1, size_type count1, buffer const &buf) const noexcept'],['../classasync__mqtt_1_1buffer.html#afeea408cf2d0d3c90d1b36b7cdd3bc60',1,'async_mqtt::buffer::compare(size_type pos1, size_type count1, std::string_view const &v) const noexcept'],['../classasync__mqtt_1_1buffer.html#a54f450efa2f2cd9b99b9eeb734fae6ce',1,'async_mqtt::buffer::compare(size_type pos1, size_type count1, buffer const &buf, size_type pos2, size_type count2) const noexcept'],['../classasync__mqtt_1_1buffer.html#a5b0285c947c7bbbffa30f1fb308647a7',1,'async_mqtt::buffer::compare(size_type pos1, size_type count1, std::string_view const &v, size_type pos2, size_type count2) const noexcept'],['../classasync__mqtt_1_1buffer.html#afdc5067111459a6bd4877bf1259a4d5b',1,'async_mqtt::buffer::compare(char const *s) const noexcept'],['../classasync__mqtt_1_1buffer.html#a33e5f60628b2fd9845e849f4c694f40a',1,'async_mqtt::buffer::compare(size_type pos1, size_type count1, char const *s) const noexcept'],['../classasync__mqtt_1_1buffer.html#a88206280e6d162885e24543f3149537c',1,'async_mqtt::buffer::compare(size_type pos1, size_type count1, char const *s, size_type pos2, size_type count2) const noexcept']]], ['connack_17',['connack',['../group__packet.html#ggad751afab4b1771811a82fcc3f34938b4afae41652874a4576f7aa845273c2df77',1,'async_mqtt']]], ['connack_20packet_20v3_201_201_18',['CONNACK packet (v3.1.1)',['../group__connack__v3__1__1.html',1,'']]], diff --git a/doc/api/search/all_7.js b/doc/api/search/all_7.js index 82d05cd7c..fa8d88d8f 100644 --- a/doc/api/search/all_7.js +++ b/doc/api/search/all_7.js @@ -2,7 +2,7 @@ var searchData= [ ['data_0',['data',['../classasync__mqtt_1_1buffer.html#aacbd3a5eefbf1dd4e572fdf1fe9d6a86',1,'async_mqtt::buffer']]], ['debug_1',['debug',['../group__log.html#gga3abd0c0ebf71c7d01def2a00423d1abfaad42f6697b035b7580e4fef93be20b4d',1,'async_mqtt']]], - ['directly_20mapping_20to_20mqtt_20packets_2',['MQTT related error but not directly mapping to MQTT packets',['../group__error__reporting.html#autotoc_md6',1,'']]], + ['directly_20mapping_20to_20mqtt_20packets_2',['MQTT related error but not directly mapping to MQTT packets',['../group__error__reporting.html#autotoc_md7',1,'']]], ['disconnect_3',['disconnect',['../group__packet.html#ggad751afab4b1771811a82fcc3f34938b4a9d634e1a156dc0c1611eb4c3cff57276',1,'async_mqtt']]], ['disconnect_20packet_20v3_201_201_4',['DISCONNECT packet (v3.1.1)',['../group__disconnect__v3__1__1.html',1,'']]], ['disconnect_20packet_20v5_200_5',['DISCONNECT packet (v5.0)',['../group__disconnect__v5.html',1,'']]], diff --git a/doc/api/search/all_8.js b/doc/api/search/all_8.js index eefd8fc9a..a73d6399e 100644 --- a/doc/api/search/all_8.js +++ b/doc/api/search/all_8.js @@ -9,10 +9,10 @@ var searchData= ['entries_6',['entries',['../classasync__mqtt_1_1v3__1__1_1_1basic__suback__packet.html#a2f51333a7d17ec472bba7a9bdaa58d7b',1,'async_mqtt::v3_1_1::basic_suback_packet::entries()'],['../classasync__mqtt_1_1v3__1__1_1_1basic__subscribe__packet.html#acd042c2ea694ca14fa3625e60170f9e0',1,'async_mqtt::v3_1_1::basic_subscribe_packet::entries()'],['../classasync__mqtt_1_1v3__1__1_1_1basic__unsubscribe__packet.html#a9c95087c0f98411469461c3231760235',1,'async_mqtt::v3_1_1::basic_unsubscribe_packet::entries()'],['../classasync__mqtt_1_1v5_1_1basic__suback__packet.html#a266b7f62154932143315ed6ff66df63d',1,'async_mqtt::v5::basic_suback_packet::entries()'],['../classasync__mqtt_1_1v5_1_1basic__subscribe__packet.html#a6c26136f87b584986128b432570cadf4',1,'async_mqtt::v5::basic_subscribe_packet::entries()'],['../classasync__mqtt_1_1v5_1_1basic__unsuback__packet.html#af3a8cb2d404218135d10b4d6f63aa086',1,'async_mqtt::v5::basic_unsuback_packet::entries()'],['../classasync__mqtt_1_1v5_1_1basic__unsubscribe__packet.html#abc77f5a53259c8bbb752de0c842e08d6',1,'async_mqtt::v5::basic_unsubscribe_packet::entries()']]], ['error_7',['Error',['../group__error.html',1,'']]], ['error_8',['error',['../group__log.html#gga3abd0c0ebf71c7d01def2a00423d1abfacb5e100e5a9a3e7f6d1fd97512215282',1,'async_mqtt']]], - ['error_20but_20not_20directly_20mapping_20to_20mqtt_20packets_9',['MQTT related error but not directly mapping to MQTT packets',['../group__error__reporting.html#autotoc_md6',1,'']]], + ['error_20but_20not_20directly_20mapping_20to_20mqtt_20packets_9',['MQTT related error but not directly mapping to MQTT packets',['../group__error__reporting.html#autotoc_md7',1,'']]], ['error_5fcode_10',['error_code',['../group__error.html#gaa100a3fca173f12e33f3b5711710033d',1,'async_mqtt']]], - ['errors_11',['Errors',['../group__error__reporting.html#autotoc_md3',1,'']]], - ['errors_12',['errors',['../group__error__reporting.html#autotoc_md5',1,'MQTT reason code based errors'],['../group__error__reporting.html#autotoc_md4',1,'Underlying errors']]], + ['errors_11',['Errors',['../group__error__reporting.html#autotoc_md4',1,'']]], + ['errors_12',['errors',['../group__error__reporting.html#autotoc_md6',1,'MQTT reason code based errors'],['../group__error__reporting.html#autotoc_md5',1,'Underlying errors']]], ['errors_20for_20apis_13',['Errors for APIs',['../group__error__reporting.html',1,'']]], ['exactly_5fonce_14',['exactly_once',['../group__qos.html#gga38e773082414bb272ab22275c56eb4dfa64d245cf1d119a993a586e60738513a9',1,'async_mqtt']]], ['except_15',['except',['../group__endpoint.html#ggaed6ebca93cac28c67f2b4fb8641e775aad1cc652b86b9858fe78058511716e92f',1,'async_mqtt']]], diff --git a/doc/api/search/all_f.js b/doc/api/search/all_f.js index cd17c8cfd..63e027617 100644 --- a/doc/api/search/all_f.js +++ b/doc/api/search/all_f.js @@ -4,7 +4,7 @@ var searchData= ['make_5fpacket_5frange_1',['make_packet_range',['../group__packet.html#ga73b3c0be05e9d700fb02dc5bab135c73',1,'async_mqtt']]], ['make_5fshared_5fptr_5fchar_5farray_2',['make_shared_ptr_char_array',['../group__buffer.html#ga4c78376365b748051fe7385678fb6f68',1,'async_mqtt']]], ['malformed_5fpacket_3',['malformed_packet',['../group__connect__reason__code.html#gga24f7ddcada0b756be2b7fd352820bbb1a2aa5596a637d08720add08ff58072e77',1,'malformed_packetasync_mqtt'],['../group__disconnect__reason__code.html#gga15697ab1af4bc8686af3e88886db3565a2aa5596a637d08720add08ff58072e77',1,'malformed_packetasync_mqtt']]], - ['mapping_20to_20mqtt_20packets_4',['MQTT related error but not directly mapping to MQTT packets',['../group__error__reporting.html#autotoc_md6',1,'']]], + ['mapping_20to_20mqtt_20packets_4',['MQTT related error but not directly mapping to MQTT packets',['../group__error__reporting.html#autotoc_md7',1,'']]], ['match_5',['match',['../group__endpoint.html#ggaed6ebca93cac28c67f2b4fb8641e775aae3cc92c14a5e6dd1a7d94b6ff634d7fc',1,'async_mqtt']]], ['max_5fsize_6',['max_size',['../classasync__mqtt_1_1buffer.html#aabb5b7e300fc71f9e8b7d78400e9f411',1,'async_mqtt::buffer']]], ['maximum_5fconnect_5ftime_7',['maximum_connect_time',['../group__disconnect__reason__code.html#gga15697ab1af4bc8686af3e88886db3565a29a53c5d92cc8a480d690d6525d6b3cf',1,'async_mqtt']]], @@ -19,10 +19,10 @@ var searchData= ['mqtt_20connection_16',['MQTT connection',['../group__connection.html',1,'']]], ['mqtt_20connection_20role_20client_20server_20or_20both_17',['MQTT connection role (client, server or both)',['../group__role.html',1,'']]], ['mqtt_20endpoint_20for_20client_20server_20broker_18',['endpoint (Packet level MQTT endpoint for client/server,broker)',['../group__endpoint.html',1,'']]], - ['mqtt_20packets_19',['MQTT packets',['../group__packet.html',1,'MQTT packets'],['../group__error__reporting.html#autotoc_md6',1,'MQTT related error but not directly mapping to MQTT packets']]], + ['mqtt_20packets_19',['MQTT packets',['../group__packet.html',1,'MQTT packets'],['../group__error__reporting.html#autotoc_md7',1,'MQTT related error but not directly mapping to MQTT packets']]], ['mqtt_20protocol_20',['MQTT protocol',['../group__mqtt.html',1,'']]], - ['mqtt_20reason_20code_20based_20errors_21',['MQTT reason code based errors',['../group__error__reporting.html#autotoc_md5',1,'']]], - ['mqtt_20related_20error_20but_20not_20directly_20mapping_20to_20mqtt_20packets_22',['MQTT related error but not directly mapping to MQTT packets',['../group__error__reporting.html#autotoc_md6',1,'']]], + ['mqtt_20reason_20code_20based_20errors_21',['MQTT reason code based errors',['../group__error__reporting.html#autotoc_md6',1,'']]], + ['mqtt_20related_20error_20but_20not_20directly_20mapping_20to_20mqtt_20packets_22',['MQTT related error but not directly mapping to MQTT packets',['../group__error__reporting.html#autotoc_md7',1,'']]], ['mqtt_20v5_200_20packets_23',['Property for MQTT v5.0 packets',['../group__property.html',1,'']]], ['mqtt_5ferror_24',['mqtt_error',['../group__mqtt__error.html#gab680615570fddcfb9aab72ea9e9d2ace',1,'async_mqtt::mqtt_error'],['../group__mqtt__error.html',1,'mqtt_error']]], ['mqtt_5ferror_5fto_5fstring_25',['mqtt_error_to_string',['../group__mqtt__error.html#gac43e72f2b8f8ed37fa104e0b7816a608',1,'async_mqtt']]], diff --git a/doc/api/structasync__mqtt_1_1pub_1_1opts.html b/doc/api/structasync__mqtt_1_1pub_1_1opts.html index d572416c2..4f61649dc 100644 --- a/doc/api/structasync__mqtt_1_1pub_1_1opts.html +++ b/doc/api/structasync__mqtt_1_1pub_1_1opts.html @@ -216,7 +216,7 @@

                                                                                                                        Detailed Description

                                                                                                                        MQTT PublishOptions.

                                                                                                                        -

                                                                                                                        +

                                                                                                                        Thread Safety

                                                                                                                        • Distinct objects: Safe
                                                                                                                        • diff --git a/doc/api/structasync__mqtt_1_1sub_1_1opts.html b/doc/api/structasync__mqtt_1_1sub_1_1opts.html index 5265e35e1..0f2df5385 100644 --- a/doc/api/structasync__mqtt_1_1sub_1_1opts.html +++ b/doc/api/structasync__mqtt_1_1sub_1_1opts.html @@ -240,7 +240,7 @@

                                                                                                                          Detailed Description

                                                                                                                          MQTT SubscribeOptions.

                                                                                                                          -

                                                                                                                          +

                                                                                                                          Thread Safety

                                                                                                                          • Distinct objects: Safe
                                                                                                                          • diff --git a/doc/comparison.html b/doc/comparison.html index 50aefb788..095ec60e1 100644 --- a/doc/comparison.html +++ b/doc/comparison.html @@ -656,7 +656,7 @@
                                                                                                                            async_mqtt (separate-compilation-
                                                                                                                          diff --git a/doc/tutorial/non_packet_based.html b/doc/tutorial/non_packet_based.html deleted file mode 100644 index 8aba62def..000000000 --- a/doc/tutorial/non_packet_based.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - -Non packet based APIs - - - - -
                                                                                                                          -
                                                                                                                          -

                                                                                                                          Most of the async_mqtt APIs are packet based, so functionalities are automatically applied by simply setting packet parameters and sending/receiving them. However, some functionalities cannot be explained by packets alone. Such functionalities are implemented as non-packet-based APIs.

                                                                                                                          -
                                                                                                                          -
                                                                                                                          -

                                                                                                                          Here is the list of non-packet-based APIs. These functions should be called before async_send/async_recv is called.

                                                                                                                          -
                                                                                                                          - ---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                                                                                          endpoint member functionEffects

                                                                                                                          set_auto_pub_response()

                                                                                                                          If set true, then PUBACK, PUBREC, PUBREL, and PUBCOMP will be sent automatically when the corresponding packet is received.

                                                                                                                          set_auto_ping_response()

                                                                                                                          If set true, then PINGRESP will be sent automatically when PINGREQ is received.

                                                                                                                          set_auto_map_topic_alias_send()

                                                                                                                          If set true, TopicAlias is automatically acquired and applied on sending PUBLISH packets. The limit is decidec by received TopicAliasMaximum property. If it is 0, no TopicAlias is used. If TopicAlias is fully used, then overwrite the oldest TopicAlias (LRU algorithm).

                                                                                                                          set_auto_replace_topic_alias_send()

                                                                                                                          It is similar to set_auto_map_topic_alias but not automatically acquired. So you need to register topicalias by yourself. If set true, then TopicAlias is automatically applied if TopicAlias is already registered.

                                                                                                                          set_ping_resp_recv_timeout_ms()

                                                                                                                          Set timer after sending PINGREQ packet. The timer would be cancelled when PINGRESP packet is received. If timer is fired then the connection is disconnected automatically.

                                                                                                                          set_bulk_write()

                                                                                                                          Set bulk write mode. If true, then concatenate multiple packets' const buffer sequence when send() is called before the previous send() is not completed. Otherwise, send packet one by one.

                                                                                                                          - ---- - - - - - - - - - - - - - - - - - - - - - - - - -
                                                                                                                          client member functionEffects

                                                                                                                          set_auto_map_topic_alias_send()

                                                                                                                          If set true, TopicAlias is automatically acquired and applied on sending PUBLISH packets. The limit is decidec by received TopicAliasMaximum property. If it is 0, no TopicAlias is used. If TopicAlias is fully used, then overwrite the oldest TopicAlias (LRU algorithm).

                                                                                                                          set_auto_replace_topic_alias_send()

                                                                                                                          It is similar to set_auto_map_topic_alias but not automatically acquired. So you need to register topicalias by yourself. If set true, then TopicAlias is automatically applied if TopicAlias is already registered.

                                                                                                                          set_ping_resp_recv_timeout_ms()

                                                                                                                          Set timer after sending PINGREQ packet. The timer would be cancelled when PINGRESP packet is received. If timer is fired then the connection is disconnected automatically.

                                                                                                                          set_bulk_write()

                                                                                                                          Set bulk write mode. If true, then concatenate multiple packets' const buffer sequence when send() is called before the previous send() is not completed. Otherwise, send packet one by one.

                                                                                                                          - -
                                                                                                                          - - - \ No newline at end of file