aws-crt-cpp
|
#include <MqttClient.h>
Public Member Functions | |
MqttClient (Io::ClientBootstrap &bootstrap, Allocator *allocator=g_allocator) noexcept | |
~MqttClient () | |
MqttClient (const MqttClient &)=delete | |
MqttClient (MqttClient &&) noexcept | |
MqttClient & | operator= (const MqttClient &)=delete |
MqttClient & | operator= (MqttClient &&) noexcept |
operator bool () const noexcept | |
int | LastError () const noexcept |
std::shared_ptr< MqttConnection > | NewConnection (const char *hostName, uint16_t port, const Io::SocketOptions &socketOptions, const Crt::Io::TlsContext &tlsContext, bool useWebsocket=false) noexcept |
std::shared_ptr< MqttConnection > | NewConnection (const char *hostName, uint16_t port, const Io::SocketOptions &socketOptions, bool useWebsocket=false) noexcept |
An MQTT client. This is a move-only type. Unless otherwise specified, all function arguments need only to live through the duration of the function call.
|
noexcept |
Initialize an MqttClient using bootstrap and allocator
Aws::Crt::Mqtt::MqttClient::~MqttClient | ( | ) |
|
delete |
|
noexcept |
|
noexcept |
|
noexcept |
Create a new connection object over plain text from the client. The client must outlive all of its connection instances.
|
noexcept |
Create a new connection object using TLS from the client. The client must outlive all of its connection instances.
|
noexcept |
|
delete |
|
noexcept |