Class MqttClientStatistics
public sealed class MqttClientStatistics
- Inheritance
-
MqttClientStatistics
- Inherited Members
Constructors
MqttClientStatistics()
public MqttClientStatistics()
Properties
ConnectedTimestamp
public DateTime ConnectedTimestamp { get; }
Property Value
LastNonKeepAlivePacketReceivedTimestamp
public DateTime LastNonKeepAlivePacketReceivedTimestamp { get; }
Property Value
LastPacketReceivedTimestamp
Timestamp of the last package that has been sent to the client ("received" from the client's perspective)
public DateTime LastPacketReceivedTimestamp { get; }
Property Value
LastPacketSentTimestamp
Timestamp of the last package that has been received from the client ("sent" from the client's perspective)
public DateTime LastPacketSentTimestamp { 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
Methods
HandleReceivedPacket(MqttPacket)
public void HandleReceivedPacket(MqttPacket packet)
Parameters
packet
MqttPacket
HandleSentPacket(MqttPacket)
public void HandleSentPacket(MqttPacket packet)
Parameters
packet
MqttPacket
ResetStatistics()
public void ResetStatistics()