mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-20 03:24:33 +08:00
Migrate events in server to async handlers.
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user