123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- #if (!MF_FRAMEWORK_VERSION_V4_2 && !MF_FRAMEWORK_VERSION_V4_3)
- using System;
- #else
- using Microsoft.SPOT;
- #endif
- namespace uPLibrary.Networking.M2Mqtt.Messages
- {
-
-
-
- public class MqttMsgSubscribeEventArgs : EventArgs
- {
- #region Properties...
-
-
-
- public ushort MessageId
- {
- get { return this.messageId; }
- internal set { this.messageId = value; }
- }
-
-
-
- public string[] Topics
- {
- get { return this.topics; }
- internal set { this.topics = value; }
- }
-
-
-
- public byte[] QoSLevels
- {
- get { return this.qosLevels; }
- internal set { this.qosLevels = value; }
- }
- #endregion
-
- ushort messageId;
-
- string[] topics;
-
- byte[] qosLevels;
-
-
-
-
-
-
- public MqttMsgSubscribeEventArgs(ushort messageId, string[] topics, byte[] qosLevels)
- {
- this.messageId = messageId;
- this.topics = topics;
- this.qosLevels = qosLevels;
- }
- }
- }
|