Table of Contents

Class MqttClientStatistics

Namespace
MQTTnet.Server
Assembly
MQTTnet.dll
public sealed class MqttClientStatistics
Inheritance
MqttClientStatistics
Inherited Members

Constructors

MqttClientStatistics()

public MqttClientStatistics()

Properties

ConnectedTimestamp

public DateTime ConnectedTimestamp { get; }

Property Value

DateTime

LastNonKeepAlivePacketReceivedTimestamp

public DateTime LastNonKeepAlivePacketReceivedTimestamp { get; }

Property Value

DateTime

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

DateTime

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

DateTime

ReceivedApplicationMessagesCount

public long ReceivedApplicationMessagesCount { get; }

Property Value

long

ReceivedPacketsCount

public long ReceivedPacketsCount { get; }

Property Value

long

SentApplicationMessagesCount

public long SentApplicationMessagesCount { get; }

Property Value

long

SentPacketsCount

public long SentPacketsCount { get; }

Property Value

long

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()