IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Qt MQTT C++ Classes

Provides classes that enable sending messages via the MQTT protocol.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt MQTT C++ Classes

Provides classes that enable sending messages via the MQTT protocol.

Namespaces

  • QMqtt: Contains miscellaneous identifiers used throughout the Qt MQTT module.

Classes

  • QMqttClient: The QMqttClient class represents the central access communicating with an MQTT broker.

  • QMqttConnectionProperties: The QMqttConnectionProperties class represents configuration options a QMqttClient can pass to the server when invoking QMqttClient::connectToHost().

  • QMqttLastWillProperties: The QMqttLastWillProperties class represents configuration options a QMqttClient can pass to the server when specifying the last will during connecting to a server.

  • QMqttMessage: The QMqttMessage class provides information about a message received from a message broker based on a subscription.

  • QMqttMessageStatusProperties: The QMqttMessageStatusProperties class represents additional information provided by the server during message delivery.

  • QMqttPublishProperties: The QMqttPublishProperties class represents configuration options for sending or receiving a message.

  • QMqttServerConnectionProperties: The QMqttServerConnectionProperties class represents configuration options of a server a QMqttClient is connected to.

  • QMqttStringPair: The QMqttStringPair class represents the string pair data type of the MQTT 5.0 standard.

  • QMqttTopicFilter: The QMqttTopicFilter class represents a MQTT topic filter.

  • QMqttUserProperties: The QMqttUserProperties class represents a list of QMqttStringPair values which can be passed to the server.

Detailed Description

To use these classes in your application, use the following include statement:

 
Sélectionnez
#include <QtMqtt/QtMqtt>

To link against the module, add this line to your qmake .pro file:

 
Sélectionnez
QT += mqtt

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+