AWS IoT Device SDK C++ v2  1.34.0
AWS IoT Device SDK C++ v2
Classes | Namespaces | Typedefs
MqttConnection.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/crt/mqtt/MqttTypes.h>
#include <aws/mqtt/client.h>
#include <aws/mqtt/v5/mqtt5_client.h>
#include <functional>
#include <memory>

Go to the source code of this file.

Classes

struct  Aws::Crt::Mqtt::OnConnectionClosedData
 
struct  Aws::Crt::Mqtt::OnConnectionSuccessData
 
struct  Aws::Crt::Mqtt::OnConnectionFailureData
 
class  Aws::Crt::Mqtt::MqttConnection
 

Namespaces

 Aws
 
 Aws::Crt
 
 Aws::Crt::Http
 
 Aws::Crt::Mqtt5
 
 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::OnConnectionClosedHandler = std::function< void(MqttConnection &connection, OnConnectionClosedData *callbackData)>
 
using Aws::Crt::Mqtt::OnConnectionSuccessHandler = std::function< void(MqttConnection &connection, OnConnectionSuccessData *callbackData)>
 
using Aws::Crt::Mqtt::OnConnectionFailureHandler = std::function< void(MqttConnection &connection, OnConnectionFailureData *callbackData)>
 
using Aws::Crt::Mqtt::OnDisconnectHandler = std::function< void(MqttConnection &connection)>
 
using Aws::Crt::Mqtt::OnPublishReceivedHandler = std::function< void(MqttConnection &connection, const String &topic, const ByteBuf &payload)>
 
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)>