IMqttClientOptions.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using MQTTnet.Client.ExtendedAuthenticationExchange;
  2. using MQTTnet.Formatter;
  3. using MQTTnet.Packets;
  4. using System;
  5. using System.Collections.Generic;
  6. namespace MQTTnet.Client.Options
  7. {
  8. public interface IMqttClientOptions
  9. {
  10. string ClientId { get; }
  11. bool CleanSession { get; }
  12. IMqttClientCredentials Credentials { get; }
  13. IMqttExtendedAuthenticationExchangeHandler ExtendedAuthenticationExchangeHandler { get; }
  14. MqttProtocolVersion ProtocolVersion { get; }
  15. IMqttClientChannelOptions ChannelOptions { get; }
  16. TimeSpan CommunicationTimeout { get; }
  17. TimeSpan KeepAlivePeriod { get; }
  18. TimeSpan? KeepAliveSendInterval { get; }
  19. MqttApplicationMessage WillMessage { get; }
  20. uint? WillDelayInterval { get; }
  21. string AuthenticationMethod { get; }
  22. byte[] AuthenticationData { get; }
  23. uint? MaximumPacketSize { get; }
  24. ushort? ReceiveMaximum { get; }
  25. bool? RequestProblemInformation { get; }
  26. bool? RequestResponseInformation { get; }
  27. uint? SessionExpiryInterval { get; }
  28. ushort? TopicAliasMaximum { get; }
  29. List<MqttUserProperty> UserProperties { get; set; }
  30. }
  31. }