Table of Contents

Class SnmpRate<T, U>

Namespace
Skyline.DataMiner.Utils.Rates.Protocol
Assembly
Skyline.DataMiner.Utils.Rates.Protocol.dll

Class SnmpRate<T, U> helps calculating rates of all sorts (bit rates, counter rates, etc) based on counters polled over SNMP. This class is meant to be used as base class for more specific SnmpRate helpers depending on the range of counters (uint, ulong, etc).

public class SnmpRate<T, U> where U : CounterWithTimeSpan<T>

Type Parameters

T
U
Inheritance
SnmpRate<T, U>
Derived
Extension Methods

Fields

rateOnTimes

Methods

BufferDelta(SnmpDeltaHelper, string)

Used to buffer the delta (TimeSpan) between 2 executions of the same group whenever the group execution times-out.

ToJsonString()

Serializes the currently buffered data of this SnmpRate<T, U> instance.