Skip to content
Start free evaluation

PDComm.HsmsState

Struct

A snapshot of an HSMS endpoint's state.

public readonly record struct HsmsState

Parameters

NameDescription
EndpointIdThe process-local identity of the endpoint.
GenerationThe current connection generation.
StateThe connection state.
ClosedWhether the endpoint has fully closed after a stop. Closed does not mean that every event has been read.

Members

HsmsState

Constructor

A snapshot of an HSMS endpoint's state.

public HsmsState(ulong EndpointId, ulong Generation, HsmsConnectionState State, bool Closed)

Parameters

NameDescription
EndpointIdThe process-local identity of the endpoint.
GenerationThe current connection generation.
StateThe connection state.
ClosedWhether the endpoint has fully closed after a stop. Closed does not mean that every event has been read.

Closed

Property

Whether the endpoint has fully closed after a stop. Closed does not mean that every event has been read.

public bool Closed { get; init; }

EndpointId

Property

The process-local identity of the endpoint.

public ulong EndpointId { get; init; }

Generation

Property

The current connection generation.

public ulong Generation { get; init; }

State

Property

The connection state.

public HsmsConnectionState State { get; init; }