Table of Contents

Class FeatureStreamConnection

Namespace
Honua.Sdk.Abstractions.Features
Assembly
Honua.Sdk.Abstractions.dll

Provider-neutral feature stream connection state.

public sealed record FeatureStreamConnection : IEquatable<FeatureStreamConnection>
Inheritance
FeatureStreamConnection
Implements
Inherited Members

Properties

ConnectedAt

Time when the provider established the connection.

public DateTimeOffset ConnectedAt { get; init; }

Property Value

DateTimeOffset

ConnectionId

Provider connection identifier.

public required string ConnectionId { get; init; }

Property Value

string

ExpiresAt

Time when the connection or resume token expires, when known.

public DateTimeOffset? ExpiresAt { get; init; }

Property Value

DateTimeOffset?

HeartbeatInterval

Provider heartbeat interval for this connection.

public TimeSpan? HeartbeatInterval { get; init; }

Property Value

TimeSpan?

LastSequenceNumber

Last accepted monotonic sequence number.

public long? LastSequenceNumber { get; init; }

Property Value

long?

ResumeToken

Provider resume token for reconnect workflows.

public string? ResumeToken { get; init; }

Property Value

string

State

Current connection state.

public FeatureStreamConnectionState State { get; init; }

Property Value

FeatureStreamConnectionState