Skip to content
Start free evaluation

PDComm.Secs1Token

Class

Identifies one message submitted to a SECS-I endpoint.

public sealed record Secs1Token

Secs1Worker.SubmitAsync returns the token; the Secs1EventKind.OutboundComplete, Secs1EventKind.OutboundFailed and Secs1EventKind.Fault events that settle the send carry the same token. A zero Secs1Token.Value means no outbound message is involved.

Parameters

NameDescription
EndpointIdThe process-local identity of the endpoint that accepted the message.
GenerationThe endpoint generation; every restart after a stop starts a new generation.
ValueThe sequence number of the message within the generation; zero when no message is involved.

Members

Secs1Token

Constructor

Identifies one message submitted to a SECS-I endpoint.

public Secs1Token(ulong EndpointId, ulong Generation, uint Value)

Secs1Worker.SubmitAsync returns the token; the Secs1EventKind.OutboundComplete, Secs1EventKind.OutboundFailed and Secs1EventKind.Fault events that settle the send carry the same token. A zero Secs1Token.Value means no outbound message is involved.

Parameters

NameDescription
EndpointIdThe process-local identity of the endpoint that accepted the message.
GenerationThe endpoint generation; every restart after a stop starts a new generation.
ValueThe sequence number of the message within the generation; zero when no message is involved.

EndpointId

Property

The process-local identity of the endpoint that accepted the message.

public ulong EndpointId { get; init; }

Generation

Property

The endpoint generation; every restart after a stop starts a new generation.

public ulong Generation { get; init; }

Value

Property

The sequence number of the message within the generation; zero when no message is involved.

public uint Value { get; init; }