Files
MQTTnet/Source/MQTTnet/Client/Options/IMqttClientOptions.cs
T

33 lines
1.1 KiB
C#

using MQTTnet.Client.ExtendedAuthenticationExchange;
using MQTTnet.Formatter;
using MQTTnet.Packets;
using System;
using System.Collections.Generic;
namespace MQTTnet.Client.Options
{
public interface IMqttClientOptions
{
string ClientId { get; }
bool CleanSession { get; }
IMqttClientCredentials Credentials { get; }
IMqttExtendedAuthenticationExchangeHandler ExtendedAuthenticationExchangeHandler { get; }
MqttProtocolVersion ProtocolVersion { get; }
IMqttClientChannelOptions ChannelOptions { get; }
TimeSpan CommunicationTimeout { get; }
TimeSpan KeepAlivePeriod { get; }
MqttApplicationMessage WillMessage { get; }
uint? WillDelayInterval { get; }
string AuthenticationMethod { get; }
byte[] AuthenticationData { get; }
uint? MaximumPacketSize { get; }
ushort? ReceiveMaximum { get; }
bool? RequestProblemInformation { get; }
bool? RequestResponseInformation { get; }
uint? SessionExpiryInterval { get; }
ushort? TopicAliasMaximum { get; }
List<MqttUserProperty> UserProperties { get; set; }
}
}