protected virtual void OnExcessiveIat(long measuredIat) { var handler = ExcessiveIat; var args = new IatEventArgs() { MaxIat = MaxIat, MeasuredIat = measuredIat }; handler?.Invoke(this, args); }
private static void _networkMetric_ExcessiveIat(object sender, IatEventArgs args) { LogMessage($"Excessive Inter-Packet Arrival Time (IAT) - max {args.MaxIat}, detected {args.MeasuredIat}."); }