mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-21 04:03:05 +08:00
18 lines
518 B
C#
18 lines
518 B
C#
using System;
|
|
|
|
namespace MQTTnet.Server
|
|
{
|
|
public class MqttServerClientSubscribedTopicEventArgs : EventArgs
|
|
{
|
|
public MqttServerClientSubscribedTopicEventArgs(string clientId, TopicFilter topicFilter)
|
|
{
|
|
ClientId = clientId ?? throw new ArgumentNullException(nameof(clientId));
|
|
TopicFilter = topicFilter ?? throw new ArgumentNullException(nameof(topicFilter));
|
|
}
|
|
|
|
public string ClientId { get; }
|
|
|
|
public TopicFilter TopicFilter { get; }
|
|
}
|
|
}
|