Table of Contents

Class ClientSubscribedTopicEventArgs

Namespace
MQTTnet.Server
Assembly
MQTTnet.dll
public sealed class ClientSubscribedTopicEventArgs : EventArgs
Inheritance
ClientSubscribedTopicEventArgs
Inherited Members

Constructors

ClientSubscribedTopicEventArgs(string, MqttTopicFilter, IDictionary)

public ClientSubscribedTopicEventArgs(string clientId, MqttTopicFilter topicFilter, IDictionary sessionItems)

Parameters

clientId string
topicFilter MqttTopicFilter
sessionItems IDictionary

Properties

ClientId

Gets the client identifier. Hint: This identifier needs to be unique over all used clients / devices on the broker to avoid connection issues.

public string ClientId { get; }

Property Value

string

SessionItems

Gets or sets a key/value collection that can be used to share data within the scope of this session.

public IDictionary SessionItems { get; }

Property Value

IDictionary

TopicFilter

Gets the topic filter. The topic filter can contain topics and wildcards.

public MqttTopicFilter TopicFilter { get; }

Property Value

MqttTopicFilter