QMqttUserProperties Class
QMqttUserProperties クラスは、サーバーに渡すことのできるQMqttStringPair 値のリストを表します。詳細...
ヘッダ | #include <QMqttUserProperties> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Mqtt) target_link_libraries(mytarget PRIVATE Qt6::Mqtt) |
qmake: | QT += mqtt |
継承: | QList |
詳細説明
ユーザプロパティは、クライアントがサーバや他のサブスクライバに、メッセージペイロードに属さない追加データを渡すことを可能にします。
一方、サーバは、接続されたクライアントにさらなる情報を提供する柔軟性も提供します。
サーバは、提供されたものにユーザ・プロパティを追加することができる。しかし、提供されたプロパティの順序は、転送中に変更されることはない。
注: ユーザ・プロパティはMQTT 5.0仕様の一部であり、古いプロトコル・レベルのQtMqtt 。詳細はQMqttClient::ProtocolVersion を参照のこと。
QMqttAuthenticationProperties 、QMqttConnectionProperties 、QMqttLastWillProperties 、QMqttPublishProperties 、QMqttSubscriptionProperties 、QMqttUnsubscriptionProperties 、QMqttSubscriptionも参照のこと 。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.