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.
 
 
 
 

19 lines
445 B

  1. using MQTTnet.Core.Packets;
  2. using MQTTnet.Core.Protocol;
  3. namespace MQTTnet.Core.Client
  4. {
  5. public class MqttSubscribeResult
  6. {
  7. public MqttSubscribeResult(TopicFilter topicFilter, MqttSubscribeReturnCode returnCode)
  8. {
  9. TopicFilter = topicFilter;
  10. ReturnCode = returnCode;
  11. }
  12. public TopicFilter TopicFilter { get; }
  13. public MqttSubscribeReturnCode ReturnCode { get; }
  14. }
  15. }