AWS IoT Device SDK C++ v2: crt/aws-crt-cpp/include/aws/crt/mqtt/MqttClient.h File Reference

AWS IoT Device SDK C++ v2 1.14.0 AWS IoT Device SDK C++ v2

Classes | Namespaces | Typedefs
MqttClient.h File Reference
`#include <aws/crt/Exports.h>`
`#include <aws/crt/StlAllocator.h>`
`#include <aws/crt/Types.h>`
`#include <aws/crt/http/HttpConnection.h>`
`#include <aws/crt/io/SocketOptions.h>`
`#include <aws/crt/io/TlsOptions.h>`
`#include <aws/mqtt/client.h>`
`#include <atomic>`
`#include <functional>`
`#include <memory>`

Go to the source code of this file.

## Classes
class | Aws::Crt::Mqtt::MqttConnection
class | Aws::Crt::Mqtt::MqttClient

## Namespaces
namespace | Aws
namespace | Aws::Crt
namespace | Aws::Crt::Io
namespace | Aws::Crt::Http
namespace | Aws::Crt::Mqtt

## Typedefs
using | Aws::Crt::Mqtt::OnConnectionInterruptedHandler = std::function< void(MqttConnection &connection, int error)>
using | Aws::Crt::Mqtt::OnConnectionResumedHandler = std::function< void(MqttConnection &connection, ReturnCode connectCode, bool sessionPresent)>
using | Aws::Crt::Mqtt::OnConnectionCompletedHandler = std::function< void(MqttConnection &connection, int errorCode, ReturnCode returnCode, bool sessionPresent)>
using | Aws::Crt::Mqtt::OnSubAckHandler = std::function< void(MqttConnection &connection, uint16_t packetId, const String &topic, QOS qos, int errorCode)>
using | Aws::Crt::Mqtt::OnMultiSubAckHandler = std::function< void(MqttConnection &connection, uint16_t packetId, const Vector< String > &topics, QOS qos, int errorCode)>
using | Aws::Crt::Mqtt::OnDisconnectHandler = std::function< void(MqttConnection &connection)>
using | Aws::Crt::Mqtt::OnMessageReceivedHandler = std::function< void(MqttConnection &connection, const String &topic, const ByteBuf &payload, bool dup, QOS qos, bool retain)>
using | Aws::Crt::Mqtt::OnPublishReceivedHandler = std::function< void(MqttConnection &connection, const String &topic, const ByteBuf &payload)>
using | Aws::Crt::Mqtt::OnOperationCompleteHandler = std::function< void(MqttConnection &connection, uint16_t packetId, int errorCode)>
using | Aws::Crt::Mqtt::OnWebSocketHandshakeInterceptComplete = std::function< void(const std::shared_ptr< Http::HttpRequest > &, int errorCode)>
using | Aws::Crt::Mqtt::OnWebSocketHandshakeIntercept = std::function< void(std::shared_ptr< Http::HttpRequest > req, const OnWebSocketHandshakeInterceptComplete &onComplete)>