Qt MQTT C++ 類

提供憑藉 MQTT 協議啓用發送消息的類。 更多...

名稱空間

QMqtt

包含整個 Qt MQTT 模塊所用的各種標識符

QMqttAuthenticationProperties

Represents configuration options during the authentication process

QMqttClient

Represents the central access communicating with an MQTT broker

QMqttConnectionProperties

Represents configuration options a QMqttClient can pass to the server when invoking QMqttClient::connectToHost()

QMqttLastWillProperties

Represents configuration options a QMqttClient can pass to the server when specifying the last will during connecting to a server

QMqttMessage

Information about a message received from a message broker based on a subscription

QMqttMessageStatusProperties

Represents additional information provided by the server during message delivery

QMqttPublishProperties

Represents configuration options for sending or receiving a message

QMqttServerConnectionProperties

Represents configuration options of a server a QMqttClient is connected to

QMqttStringPair

Represents the string pair data type of the MQTT 5.0 standard

QMqttSubscription

Receives notifications from an MQTT broker about a specified topic

QMqttSubscriptionProperties

Represents configuration options a QMqttClient can pass to the server when subscribing to a topic filter

QMqttTopicFilter

錶示 MQTT 話題過濾

QMqttTopicName

錶示 MQTT 話題名稱

QMqttUnsubscriptionProperties

Represents configuration options a QMqttClient can pass to the server when unsubscribing from a topic filter

QMqttUserProperties

Represents a list of QMqttStringPair values which can be passed to the server

詳細描述

要在應用程序中使用這些類,請使用以下 include 語句:

#include <QtMqtt/QtMqtt>
					

要鏈接到模塊,添加此行到 qmake .pro 文件:

QT += mqtt