|
AWS IoT Device SDK C++ v2 1.44.1
AWS IoT Device SDK C++ v2
|
#include <Mqtt5Packets.h>
Public Member Functions | |
| ConnAckPacket (const aws_mqtt5_packet_connack_view &packet, Allocator *allocator=ApiAllocator()) noexcept | |
| PacketType | getType () override |
| bool | getSessionPresent () const noexcept |
| ConnectReasonCode | getReasonCode () const noexcept |
| const Crt::Optional< uint32_t > & | getSessionExpiryIntervalSec () const noexcept |
| const Crt::Optional< uint32_t > & | getSessionExpiryInterval () const noexcept |
| const Crt::Optional< uint16_t > & | getReceiveMaximum () const noexcept |
| const Crt::Optional< QOS > & | getMaximumQOS () const noexcept |
| const Crt::Optional< bool > & | getRetainAvailable () const noexcept |
| const Crt::Optional< uint32_t > & | getMaximumPacketSize () const noexcept |
| const Crt::Optional< String > & | getAssignedClientIdentifier () const noexcept |
| const Crt::Optional< uint16_t > | getTopicAliasMaximum () const noexcept |
| const Crt::Optional< String > & | getReasonString () const noexcept |
| const Vector< UserProperty > & | getUserProperty () const noexcept |
| const Crt::Optional< bool > & | getWildcardSubscriptionsAvailable () const noexcept |
| const Crt::Optional< bool > & | getSubscriptionIdentifiersAvailable () const noexcept |
| const Crt::Optional< bool > & | getSharedSubscriptionsAvailable () const noexcept |
| const Crt::Optional< uint16_t > & | getServerKeepAliveSec () const noexcept |
| const Crt::Optional< uint16_t > & | getServerKeepAlive () const noexcept |
| const Crt::Optional< String > & | getResponseInformation () const noexcept |
| const Crt::Optional< String > & | getServerReference () const noexcept |
| virtual | ~ConnAckPacket () |
| ConnAckPacket (const ConnAckPacket &)=delete | |
| ConnAckPacket (ConnAckPacket &&) noexcept=delete | |
| ConnAckPacket & | operator= (const ConnAckPacket &)=delete |
| ConnAckPacket & | operator= (ConnAckPacket &&) noexcept=delete |
| Public Member Functions inherited from Aws::Crt::Mqtt5::IPacket | |
| virtual | ~IPacket ()=default |
Data model of an MQTT5 CONNACK packet.
|
noexcept |
|
inlinevirtual |
|
delete |
|
deletenoexcept |
|
noexcept |
Specifies a client identifier assigned to this connection by the server. Only valid when the client id of the preceding CONNECT packet was left empty.
See MQTT5 Assigned Client Identifier
|
noexcept |
Specifies the maximum packet size, in bytes, that the server is willing to accept. If null, there is no limit beyond what is imposed by the MQTT spec itself.
|
noexcept |
The maximum message delivery quality of service that the server will allow on this connection.
|
noexcept |
Indicates either success or the reason for failure for the connection attempt.
|
noexcept |
Additional diagnostic information about the result of the connection attempt.
|
noexcept |
The maximum amount of in-flight QoS 1 or 2 messages that the server is willing to handle at once. If omitted or null, the limit is based on the valid MQTT packet id space (65535).
|
noexcept |
A value that can be used in the creation of a response topic associated with this connection. MQTT5-based request/response is outside the purview of the MQTT5 spec and this client.
See MQTT5 Response Information
|
noexcept |
Indicates whether the server supports retained messages. If null, retained messages are supported.
|
noexcept |
|
noexcept |
Server-requested override of the keep alive interval, in seconds. If null, the keep alive value sent by the client should be used.
|
noexcept |
Property indicating an alternate server that the client may temporarily or permanently attempt to connect to instead of the configured endpoint. Will only be set if the reason code indicates another server may be used (ServerMoved, UseAnotherServer).
|
noexcept |
A time interval, in seconds, that the server will persist this connection's MQTT session state for. If present, this value overrides any session expiry specified in the preceding CONNECT packet.
See MQTT5 Session Expiry Interval
|
noexcept |
A time interval, in seconds, that the server will persist this connection's MQTT session state for. If present, this value overrides any session expiry specified in the preceding CONNECT packet.
See MQTT5 Session Expiry Interval
|
noexcept |
True if the client rejoined an existing session on the server, false otherwise.
|
noexcept |
Indicates whether the server supports shared subscription topic filters. If null, shared subscriptions are supported.
See MQTT5 Shared Subscriptions Available
|
noexcept |
Indicates whether the server supports subscription identifiers. If null, subscription identifiers are supported.
See MQTT5 Subscription Identifiers Available
|
noexcept |
Specifies the maximum topic alias value that the server will accept from the client.
|
inlineoverridevirtual |
Implements Aws::Crt::Mqtt5::IPacket.
|
noexcept |
|
noexcept |
Indicates whether the server supports wildcard subscriptions. If null, wildcard subscriptions are supported.
See MQTT5 Wildcard Subscriptions Available
|
deletenoexcept |
|
delete |