PendingMessageState

StockSharp.Algo.Basket

Default implementation of IPendingMessageState.

Implementa: IPendingMessageState

Propiedades

Count : int

Gets the count of pending messages.

Métodos

Add(Message)

Adds a message to pending queue.

Clear()

Clears all adapter states and resets current state to Disconnected.

GetAndClear() : Message[]

Gets all pending messages and clears the queue.

TryRemoveMarketData(long) : MarketDataMessage

Tries to find and remove a pending MarketDataMessage by its transaction ID.

transactionId
Transaction ID to find.

Devuelve: The removed message, or null if not found.