SubscriptionManagerState

StockSharp.Algo

Default implementation of ISubscriptionManagerState.

Implementa: ISubscriptionManagerState

Propiedades

ReMapSubscriptionCount : int

Get count of pending remap subscriptions.

ReplaceIdCount : int

Get count of replace IDs.

Métodos

AddHistoricalRequest(long, ISubscriptionMessage)

Add historical request.

AddReMapSubscription(Message)

Add message to remap queue.

AddReplaceId(long, long)

Add replace ID mapping.

Clear()

Clears all adapter states and resets current state to Disconnected.

ClearReMapSubscriptions()

Clear remap subscriptions.

ClearReplaceIds()

Clear all replace IDs.

ContainsHistoricalRequest(long) : bool

Check if contains historical request.

ContainsReplaceId(long) : bool

Check if contains replace ID.

GetActiveSubscriptions() : IEnumerable<ValueTuple<long, ISubscriptionMessage>>

Get all active subscriptions for remapping.

GetAndClearReMapSubscriptions() : Message[]

Get and clear remap subscriptions.

RemoveHistoricalRequest(long) : bool

Remove historical request.

RemoveReplaceId(long)

Remove replace ID mapping by new ID.

RemoveSubscription(long) : bool

Remove subscription.

TryGetAndRemoveHistoricalRequest(long, ISubscriptionMessage) : bool

Try get and remove historical request.

TryGetHistoricalRequest(long, ISubscriptionMessage) : bool

Try get historical request without removing.

TryGetNewId(long, long) : bool

Try get new ID by original ID.

TryGetOriginalId(long, long) : bool

Try get original ID by new ID.

UpdateSubscriptionState(long, SubscriptionStates)

Update subscription state.