Table of Contents

Interface IEventMetadata

Namespace
PushTechnology.ClientInterface.Client.Features.TimeSeries
Assembly
Diffusion.Client.dll

The time series event metadata.

public interface IEventMetadata

Remarks

Added in version 6.1.

Properties

Author

Gets the server-authenticated identity of the session that created the event.

string Author { get; }

Property Value

string

The principal that created the event, or Empty if the session that created the event was not authenticated.

Sequence

Gets the sequence number identifying this event within its time series.

long Sequence { get; }

Property Value

long

The non-negative sequence number.

Remarks

Assigned by the server when the event is created.

Sequence numbers are unique within a time series. Each event appended to a time series is assigned a sequence number that is equal to the sequence number of the preceding event plus one.

Timestamp

Gets the event timestamp.

long Timestamp { get; }

Property Value

long

The difference, measured in milliseconds, between the time the server added the event to the time series and midnight, January 1, 1970 UTC.

Remarks

Assigned by the server when the event is created.

Events do not have unique timestamps. Events with different sequence numbers may have the same timestamp.

Subsequent events in a time series usually have timestamps that are greater or equal to the timestamps of earlier events, but this is not guaranteed due to changes to the time source used by the server.