Пример #1
0
        protected virtual void OnExcessiveIat(long measuredIat)
        {
            var handler = ExcessiveIat;

            var args = new IatEventArgs()
            {
                MaxIat = MaxIat,
                MeasuredIat = measuredIat
            };

            handler?.Invoke(this, args);

        }
Пример #2
0
 private static void _networkMetric_ExcessiveIat(object sender, IatEventArgs args)
 {
     LogMessage($"Excessive Inter-Packet Arrival Time (IAT) - max {args.MaxIat}, detected {args.MeasuredIat}.");
 }