mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 01:03:01 +08:00
18 lines
443 B
C#
18 lines
443 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MQTTnet.Adapter
|
|
{
|
|
public class MqttServerAdapterClientAcceptedEventArgs : EventArgs
|
|
{
|
|
public MqttServerAdapterClientAcceptedEventArgs(IMqttChannelAdapter client)
|
|
{
|
|
Client = client ?? throw new ArgumentNullException(nameof(client));
|
|
}
|
|
|
|
public IMqttChannelAdapter Client { get; }
|
|
|
|
public Task SessionTask { get; set; }
|
|
}
|
|
}
|