Refactor managed MQTT client

This commit is contained in:
Christian Kratky
2017-10-19 20:45:37 +02:00
parent bddfadaefa
commit fe88b7551c
14 changed files with 206 additions and 219 deletions
@@ -0,0 +1,15 @@
using System;
using MQTTnet.Core.Client;
namespace MQTTnet.Core.ManagedClient
{
public class ManagedMqttClientOptions : IManagedMqttClientOptions
{
public IMqttClientOptions ClientOptions { get; set; }
public bool UseAutoReconnect { get; set; } = true;
public TimeSpan AutoReconnectDelay { get; set; } = TimeSpan.FromSeconds(5);
public IManagedMqttClientStorage Storage { get; set; }
}
}