PDComm.HsmsState
Struct
A snapshot of an HSMS endpoint's state.
public readonly record struct HsmsStateParameters
| Name | Description |
|---|---|
EndpointId | The process-local identity of the endpoint. |
Generation | The current connection generation. |
State | The connection state. |
Closed | Whether 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
| Name | Description |
|---|---|
EndpointId | The process-local identity of the endpoint. |
Generation | The current connection generation. |
State | The connection state. |
Closed | Whether 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; }