MqttClientApplicationMessage 属性 |
MqttClientApplicationMessage 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | ClientId |
客户端的Id信息 Client Id information |
![]() | CreateTime |
当前消息的生成时间 The generation time of the current message |
![]() | IsCancelPublish |
获取或设置当前的消息是否取消发布,默认False,也就是发布出去 Get or set whether the current message is unpublished, the default is False, which means it is published |
![]() | MsgID |
当前消息的ID信息,在Qos大于0的时候,才是有值的
|
![]() | Payload |
有效载荷包含将被发布的应用消息。数据的内容和格式是应用特定的。 (继承自 MqttApplicationMessage。)The payload contains application messages to be published. The content and format of the data is application specific. |
![]() | QualityOfServiceLevel |
这个字段表示应用消息分发的服务质量等级保证。分为,最多一次,最少一次,正好一次,只发不推送。 (继承自 MqttApplicationMessage。)This field indicates the quality of service level guarantee for application message distribution. Divided into, at most once, at least once, exactly once |
![]() | Retain |
该消息是否在服务器端进行保留,详细的说明参照文档的备注 (继承自 MqttApplicationMessage。)Whether the message is retained on the server. For details, refer to the remarks of the document. |
![]() | Topic |
主题名(Topic Name)用于识别有效载荷数据应该被发布到哪一个信息通道。 (继承自 MqttApplicationMessage。)The Topic Name is used to identify which information channel the payload data should be published to. |
![]() | UserName |
当前的客户端的用户名 Username of the current client |