AWS IoT Device SDK C++ v2
1.34.0
AWS IoT Device SDK C++ v2
|
#include <Mqtt5Packets.h>
Public Member Functions | |
NegotiatedSettings (const aws_mqtt5_negotiated_settings &negotiated_settings, Allocator *allocator=ApiAllocator()) noexcept | |
Mqtt5::QOS | getMaximumQOS () const noexcept |
uint32_t | getSessionExpiryIntervalSec () const noexcept |
uint16_t | getReceiveMaximumFromServer () const noexcept |
uint32_t | getMaximumPacketSizeBytes () const noexcept |
uint32_t | getMaximumPacketSizeToServer () const noexcept |
uint16_t | getTopicAliasMaximumToServer () const noexcept |
uint16_t | getTopicAliasMaximumToClient () const noexcept |
uint16_t | getServerKeepAliveSec () const noexcept |
uint16_t | getServerKeepAlive () const noexcept |
bool | getRetainAvailable () const noexcept |
bool | getWildcardSubscriptionsAvailable () const noexcept |
bool | getSubscriptionIdentifiersAvailable () const noexcept |
bool | getSharedSubscriptionsAvailable () const noexcept |
bool | getRejoinedSession () const noexcept |
const Crt::String & | getClientId () const noexcept |
virtual | ~NegotiatedSettings () |
NegotiatedSettings (const NegotiatedSettings &)=delete | |
NegotiatedSettings (NegotiatedSettings &&) noexcept=delete | |
NegotiatedSettings & | operator= (const NegotiatedSettings &)=delete |
NegotiatedSettings & | operator= (NegotiatedSettings &&) noexcept=delete |
Mqtt behavior settings that are dynamically negotiated as part of the CONNECT/CONNACK exchange.
While you can infer all of these values from a combination of (1) defaults as specified in the mqtt5 spec (2) your CONNECT settings (3) the CONNACK from the broker
the client instead does the combining for you and emits a NegotiatedSettings object with final, authoritative values.
Negotiated settings are communicated with every successful connection establishment.
|
noexcept |
|
inlinevirtual |
|
delete |
|
deletenoexcept |
|
noexcept |
The final client id in use by the newly-established connection. This will be the configured client id if one was given in the configuration, otherwise, if no client id was specified, this will be the client id assigned by the server. Reconnection attempts will always use the auto-assigned client id, allowing for auto-assigned session resumption.
|
noexcept |
NegotiatedSettings::getMaximumPacketSizeToServer()
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
NegotiatedSettings::getServerKeepAliveSec()
The maximum amount of time in seconds between client packets. The client should use PINGREQs to ensure this limit is not breached. The server will disconnect the client for inactivity if no MQTT packet is received in a time interval equal to 1.5 x this value.
|
noexcept |
The maximum amount of time in seconds between client packets. The client should use PINGREQs to ensure this limit is not breached. The server will disconnect the client for inactivity if no MQTT packet is received in a time interval equal to 1.5 x this value.
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
delete |
|
deletenoexcept |