Migrate events in server to async handlers.

This commit is contained in:
Christian
2019-03-05 21:37:30 +01:00
parent 6f5f507323
commit dffc27c1f4
12 changed files with 169 additions and 68 deletions
@@ -0,0 +1,14 @@
using System;
namespace MQTTnet.Server
{
public class MqttServerClientConnectedEventArgs : EventArgs
{
public MqttServerClientConnectedEventArgs(string clientId)
{
ClientId = clientId ?? throw new ArgumentNullException(nameof(clientId));
}
public string ClientId { get; }
}
}