ILatencyManagerState

StockSharp.Algo.Latency

State storage for LatencyManager.

Eigenschaften

LatencyCancellation : TimeSpan

Total cancellation latency.

LatencyRegistration : TimeSpan

Total registration latency.

Methoden

AddCancellation(long, DateTime)

Add pending cancellation.

transactionId
Transaction ID.
localTime
Local time.
AddLatencyCancellation(TimeSpan)

Add to cancellation latency.

latency
Latency to add.
AddLatencyRegistration(TimeSpan)

Add to registration latency.

latency
Latency to add.
AddRegistration(long, DateTime)

Add pending registration.

transactionId
Transaction ID.
localTime
Local time.
Clear()

Clear all state.

TryGetAndRemoveCancellation(long, DateTime) : bool

Try get and remove pending cancellation.

transactionId
Transaction ID.
localTime
Local time if found.

Rückgabe: if found and removed.

TryGetAndRemoveRegistration(long, DateTime) : bool

Try get and remove pending registration.

transactionId
Transaction ID.
localTime
Local time if found.

Rückgabe: if found and removed.