OfflineManagerState

StockSharp.Algo

Default implementation of IOfflineManagerState.

Implementiert: IOfflineManagerState

Eigenschaften

IsConnected : bool

Get connection status.

SuspendedCount : int

Get suspended messages count.

Methoden

AddPendingRegistration(long, OrderRegisterMessage)

Add pending order registration.

AddPendingSubscription(long, ISubscriptionMessage)

Add pending subscription.

AddSuspended(Message)

Add message to suspended queue.

Clear()

Clears all adapter states and resets current state to Disconnected.

GetAndClearSuspended() : Message[]

Get and clear all suspended messages.

RemovePendingRegistrationByValue(OrderRegisterMessage)

Remove pending registration by value.

RemovePendingSubscriptionByValue(ISubscriptionMessage)

Remove pending subscription by value.

RemoveSuspended(Message) : bool

Remove message from suspended queue.

SetConnected(bool)

Set connection status.

TryGetAndRemovePendingRegistration(long, OrderRegisterMessage) : bool

Try get and remove pending registration by transaction ID.

TryGetAndRemovePendingSubscription(long, ISubscriptionMessage) : bool

Try get and remove pending subscription by transaction ID.