|
AWS IoT Device SDK C++ v2 1.44.1
AWS IoT Device SDK C++ v2
|
#include <Mqtt5Packets.h>
Public Member Functions | |
| Subscription (Allocator *allocator=ApiAllocator()) | |
| Subscription (Crt::String topicFilter, Mqtt5::QOS qos, Allocator *allocator=ApiAllocator()) | |
| Subscription & | WithTopicFilter (Crt::String topicFilter) noexcept |
| Subscription & | WithQOS (Mqtt5::QOS QOSQOS) noexcept |
| Subscription & | WithNoLocal (bool noLocal) noexcept |
| Subscription & | WithRetainAsPublished (bool retain) noexcept |
| Subscription & | WithRetain (bool retain) noexcept |
| Subscription & | WithRetainHandlingType (RetainHandlingType retainHandlingType) noexcept |
| bool | initializeRawOptions (aws_mqtt5_subscription_view &raw_options) const noexcept |
| virtual | ~Subscription () |
| Subscription (const Subscription &) noexcept | |
| Subscription (Subscription &&) noexcept | |
| Subscription & | operator= (const Subscription &) noexcept |
| Subscription & | operator= (Subscription &&) noexcept |
Configures a single subscription within a Subscribe operation
| Aws::Crt::Mqtt5::Subscription::Subscription | ( | Allocator * | allocator = ApiAllocator() | ) |
| Aws::Crt::Mqtt5::Subscription::Subscription | ( | Crt::String | topicFilter, |
| Mqtt5::QOS | qos, | ||
| Allocator * | allocator = ApiAllocator() ) |
|
inlinevirtual |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Sets should the server not send publishes to a client when that client was the one who sent the publish? The value will be default to false.
See MQTT5 Subscription Options
| noLocal | bool |
|
noexcept |
Sets Maximum QoS on which the subscriber will accept publish messages. Negotiated QoS may be different.
See MQTT5 Subscription Options
| QOS |
|
noexcept |
Sets should the server not send publishes to a client when that client was the one who sent the publish? The value will be default to false.
See MQTT5 Subscription Options
| retain | bool |
|
noexcept |
Sets should the server not send publishes to a client when that client was the one who sent the publish? The value will be default to false.
See MQTT5 Subscription Options
| retain | bool |
|
noexcept |
Sets should messages sent due to this subscription keep the retain flag preserved on the message? The value will be default to false.
See MQTT5 Subscription Options
| retainHandlingType |
|
noexcept |
Sets topic filter to subscribe to
See MQTT5 Subscription Options
| topicFilter | string |