#include <Mqtt5Packets.h>
Configures a single subscription within a Subscribe operation
See MQTT5 Subscription Options
virtual Aws::Crt::Mqtt5::Subscription::~Subscription |
( |
| ) |
|
|
inlinevirtual |
Aws::Crt::Mqtt5::Subscription::Subscription |
( |
const Subscription & |
toCopy | ) |
|
|
noexcept |
Aws::Crt::Mqtt5::Subscription::Subscription |
( |
Subscription && |
toMove | ) |
|
|
noexcept |
bool Aws::Crt::Mqtt5::Subscription::initializeRawOptions |
( |
aws_mqtt5_subscription_view & |
raw_options | ) |
const |
|
noexcept |
Subscription & Aws::Crt::Mqtt5::Subscription::WithNoLocal |
( |
bool |
noLocal | ) |
|
|
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
- Parameters
-
- Returns
- The Subscription Object after setting the reason string.
Sets Maximum QoS on which the subscriber will accept publish messages. Negotiated QoS may be different.
See MQTT5 Subscription Options
- Parameters
-
- Returns
- The Subscription Object after setting the reason string.
Subscription & Aws::Crt::Mqtt5::Subscription::WithRetain |
( |
bool |
retain | ) |
|
|
noexcept |
Subscription & Aws::Crt::Mqtt5::Subscription::WithRetainAsPublished |
( |
bool |
retain | ) |
|
|
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
- Parameters
-
- Returns
- The Subscription Object after setting the reason string.
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
- Parameters
-
- Returns
- The Subscription Object after setting the reason string.
The documentation for this class was generated from the following files: