|
AWS IoT Device SDK C++ v2 1.44.2
AWS IoT Device SDK C++ v2
|
#include <Mqtt5Packets.h>
Public Member Functions | |
| SubscribePacket (Allocator *allocator=ApiAllocator()) noexcept | |
| PacketType | getType () override |
| SubscribePacket & | WithUserProperties (const Vector< UserProperty > &userProperties) noexcept |
| SubscribePacket & | WithUserProperties (Vector< UserProperty > &&userProperties) noexcept |
| SubscribePacket & | WithUserProperty (UserProperty &&property) noexcept |
| SubscribePacket & | WithSubscriptionIdentifier (uint32_t subscriptionIdentifier) noexcept |
| SubscribePacket & | WithSubscriptions (const Vector< Subscription > &subscriptions) noexcept |
| SubscribePacket & | WithSubscriptions (Crt::Vector< Subscription > &&subscriptions) noexcept |
| SubscribePacket & | WithSubscription (Subscription &&subscription) noexcept |
| bool | initializeRawOptions (aws_mqtt5_packet_subscribe_view &raw_options) noexcept |
| virtual | ~SubscribePacket () |
| SubscribePacket (const SubscribePacket &) noexcept=delete | |
| SubscribePacket (SubscribePacket &&) noexcept=delete | |
| SubscribePacket & | operator= (const SubscribePacket &) noexcept=delete |
| SubscribePacket & | operator= (SubscribePacket &&) noexcept=delete |
| Public Member Functions inherited from Aws::Crt::Mqtt5::IPacket | |
| virtual | ~IPacket ()=default |
Data model of an MQTT5 SUBSCRIBE packet.
|
noexcept |
|
virtual |
|
deletenoexcept |
|
deletenoexcept |
|
inlineoverridevirtual |
Implements Aws::Crt::Mqtt5::IPacket.
|
noexcept |
|
deletenoexcept |
|
deletenoexcept |
|
noexcept |
Sets a single subscription within the SUBSCRIBE packet.
| subscription | The subscription to add within the SUBSCRIBE packet. |
|
noexcept |
Sets the value to associate with all subscriptions in this request. Publish packets that match a subscription in this request should include this identifier in the resulting message.
See MQTT5 Subscription Identifier
| subscriptionIdentifier | A positive long to associate with all subscriptions in this request. |
|
noexcept |
Sets a list of subscriptions within the SUBSCRIBE packet.
| subscriptions | vector of subscriptions to add within the SUBSCRIBE packet. |
|
noexcept |
Sets a list of subscriptions within the SUBSCRIBE packet.
| subscriptions | vector of subscriptions to add within the SUBSCRIBE packet. |
|
noexcept |
Sets the list of MQTT5 user properties included with the packet.
| userProperties | List of MQTT5 user properties included with the packet. |
|
noexcept |
Sets the list of MQTT5 user properties included with the packet.
| userProperties | List of MQTT5 user properties included with the packet. |
|
noexcept |
Put a MQTT5 user property to the back of the packet user property vector/list
| property | userProperty of MQTT5 user properties included with the packet. |