Skip to content
Start free evaluation

PDComm.HsmsToken

Struct

Identifies one transaction of an HSMS endpoint.

public readonly record struct HsmsToken

Request, Select, Deselect and Linktest return a token; the events that complete the transaction carry the same token. A token from another endpoint or from an earlier connection generation is stale. State-change events carry a zero token.

Parameters

NameDescription
EndpointIdThe process-local identity of the endpoint.
GenerationThe connection generation in which the transaction was started.
SystemBytesThe system bytes (transaction ID) in the message header.

Members

HsmsToken

Constructor

Identifies one transaction of an HSMS endpoint.

public HsmsToken(ulong EndpointId, ulong Generation, uint SystemBytes)

Request, Select, Deselect and Linktest return a token; the events that complete the transaction carry the same token. A token from another endpoint or from an earlier connection generation is stale. State-change events carry a zero token.

Parameters

NameDescription
EndpointIdThe process-local identity of the endpoint.
GenerationThe connection generation in which the transaction was started.
SystemBytesThe system bytes (transaction ID) in the message header.

EndpointId

Property

The process-local identity of the endpoint.

public ulong EndpointId { get; init; }

Generation

Property

The connection generation in which the transaction was started.

public ulong Generation { get; init; }

SystemBytes

Property

The system bytes (transaction ID) in the message header.

public uint SystemBytes { get; init; }