Add nuget support

This commit is contained in:
Christian Kratky
2017-04-01 21:51:36 +02:00
parent ee25228c0b
commit 8bfad437cf
27 changed files with 589 additions and 335 deletions
@@ -0,0 +1,15 @@
using System;
using MQTTnet.Core.Server;
namespace MQTTnet
{
public class MqttServerFactory
{
public MqttServer CreateMqttServer(MqttServerOptions options)
{
if (options == null) throw new ArgumentNullException(nameof(options));
return new MqttServer(options, new MqttServerAdapter());
}
}
}