Interface IEventMetadata

The time series event metadata.

Namespace: PushTechnology.ClientInterface.Client.Features.TimeSeries
Assembly: Diffusion.Client.dll
Syntax
public interface IEventMetadata
Remarks

Added in version 6.1.

Properties

Author

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

Declaration
string Author { get; }
Property Value
Type Description
System.String

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

Sequence

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

Declaration
long Sequence { get; }
Property Value
Type Description
System.Int64

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.

Declaration
long Timestamp { get; }
Property Value
Type Description
System.Int64

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.

Back to top