HeartbeatManagerState

StockSharp.Algo

Default implementation of IHeartbeatManagerState.

Implements: IHeartbeatManagerState

Properties

CanSendTime : bool

Whether the adapter can send time messages.

ConnectingAttemptCount : int

Number of remaining reconnection attempts.

ConnectionTimeOut : TimeSpan

Current connection timeout remaining.

CurrentState : ConnectionStates

Gets the current aggregated connection state.

IsFirstTimeConnect : bool

Whether this is the first time connecting.

PreviousState : ConnectionStates

Previous connection state.

SuppressDisconnectError : bool

Whether to suppress disconnect error messages.

Methods

Reset()

Reset state.

Fields

None : ConnectionStates

Sentinel value indicating no connection state.