LatencyMessageAdapter

StockSharp.Algo.Latency

The message adapter, automatically calculating network delays.

Erbt von: MessageAdapterWrapper

Konstruktoren

LatencyMessageAdapter(IMessageAdapter, ILatencyManager)

The message adapter, automatically calculating network delays.

innerAdapter
The adapter, to which messages will be directed.
latencyManager
Orders registration delay calculation manager.

Methoden

Clone() : IMessageAdapter

Create a copy of LatencyMessageAdapter.

Rückgabe: Copy.

OnInnerAdapterNewOutMessageAsync(Message, CancellationToken) : ValueTask

Process InnerAdapter output message.

message
The message.
cancellationToken
Cancellation token.