Class MqttClientStatus
public sealed class MqttClientStatus
- Inheritance
-
MqttClientStatus
- Inherited Members
- Extension Methods
Constructors
MqttClientStatus(MqttClient)
public MqttClientStatus(MqttClient client)
Parameters
client
MqttClient
Properties
BytesReceived
public long BytesReceived { get; }
Property Value
BytesSent
public long BytesSent { get; }
Property Value
ConnectedTimestamp
public DateTime ConnectedTimestamp { get; }
Property Value
Endpoint
public string Endpoint { get; }
Property Value
Id
Gets or sets the client identifier. Hint: This identifier needs to be unique over all used clients / devices on the broker to avoid connection issues.
public string Id { get; }
Property Value
LastNonKeepAlivePacketReceivedTimestamp
public DateTime LastNonKeepAlivePacketReceivedTimestamp { get; }
Property Value
LastPacketReceivedTimestamp
public DateTime LastPacketReceivedTimestamp { get; }
Property Value
LastPacketSentTimestamp
public DateTime LastPacketSentTimestamp { get; }
Property Value
ProtocolVersion
public MqttProtocolVersion ProtocolVersion { get; }
Property Value
ReceivedApplicationMessagesCount
public long ReceivedApplicationMessagesCount { get; }
Property Value
ReceivedPacketsCount
public long ReceivedPacketsCount { get; }
Property Value
SentApplicationMessagesCount
public long SentApplicationMessagesCount { get; }
Property Value
SentPacketsCount
public long SentPacketsCount { get; }
Property Value
Session
public MqttSessionStatus Session { get; set; }
Property Value
Methods
DisconnectAsync(MqttServerClientDisconnectOptions)
public Task DisconnectAsync(MqttServerClientDisconnectOptions options)
Parameters
Returns
ResetStatistics()
public void ResetStatistics()