You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using MQTTnet.Protocol;
-
- namespace MQTTnet
- {
- public class TopicFilter
- {
- public TopicFilter(string topic, MqttQualityOfServiceLevel qualityOfServiceLevel)
- {
- Topic = topic;
- QualityOfServiceLevel = qualityOfServiceLevel;
- }
-
- public string Topic { get; set; }
-
- public MqttQualityOfServiceLevel QualityOfServiceLevel { get; set; }
-
- public override string ToString()
- {
- return Topic + "@" + QualityOfServiceLevel;
- }
- }
- }
|