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