Table of Contents

Class NodeStatsEventArgs

Namespace
Nyra.EventArgs
Assembly
Nyra.dll

The statistics a node reported.

public sealed class NodeStatsEventArgs : EventArgs
Inheritance
NodeStatsEventArgs
Inherited Members

Constructors

NodeStatsEventArgs(Stats)

Initializes the event args with the reported values.

public NodeStatsEventArgs(Stats stats)

Parameters

stats Stats

The statistics the node reported.

Exceptions

ArgumentNullException

stats is null.

Properties

Stats

The reported statistics, the same snapshot Stats held when the raise was queued.

public Stats Stats { get; }

Property Value

Stats

Remarks

By handler time a newer report may have replaced the property. A report that lands while the ready phase runs is raised only after the Ready event, or dropped without a raise if the connection dies first. The property already holds its data meanwhile, so the last raised snapshot can trail the property until the deferred raise runs.