IAdapterConnectionState
StockSharp.Algo.Basket
Interface for managing adapter connection states.
プロパティ
AllDisconnectedOrFailed : bool
Whether all adapters are Disconnected or Failed.
ConnectedCount : int
Gets the count of connected adapters.
CurrentState : ConnectionStates
Gets or sets the aggregated basket connection state.
HasPendingAdapters : bool
Whether any adapter is still in Connecting state.
TotalCount : int
Gets the total count of adapters.
メソッド
Clear()
Clears all adapter states and resets current state to Disconnected.
GetAllStates() : IEnumerable<ValueTuple<IMessageAdapter, ConnectionStates, Exception>>
Gets all adapter states.
RemoveAdapter(IMessageAdapter) : bool
Removes the state for the specified adapter.
SetAdapterState(IMessageAdapter, ConnectionStates, Exception)
Sets the state for the specified adapter.
TryGetAdapterState(IMessageAdapter, ConnectionStates, Exception) : bool
Tries to get the state for the specified adapter.