Skip to content

SyncReceivedEventArgs Class

Argument type for the SyncReceived event: a raw incoming SYNC frame.

public sealed class SyncReceivedEventArgs : System.EventArgs

Inheritance Object → EventArgs → SyncReceivedEventArgs

Constructors

SyncReceivedEventArgs(DateTime) Constructor

Constructs a new event.

public SyncReceivedEventArgs(System.DateTime timestamp);

Parameters

timestamp DateTime

SyncReceivedEventArgs(DateTime, Nullable<byte>) Constructor

Constructs a SYNC event with its optional counter.

public SyncReceivedEventArgs(System.DateTime timestamp, System.Nullable<byte> counter);

Parameters

timestamp DateTime

counter Nullable<Byte>

Properties

SyncReceivedEventArgs.Counter Property

The counter carried by a DLC-1 SYNC, or null for DLC 0.

public System.Nullable<byte> Counter { get; }

Property Value

Nullable<Byte>

SyncReceivedEventArgs.Timestamp Property

UTC timestamp captured when the SYNC was processed on the actor loop.

public System.DateTime Timestamp { get; }

Property Value

DateTime