LatencyMessageAdapter

StockSharp.Algo.Latency

The message adapter, automatically calculating network delays.

继承自: MessageAdapterWrapper

构造函数

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.

方法

Clone() : IMessageAdapter

Create a copy of LatencyMessageAdapter.

返回值: Copy.

OnInnerAdapterNewOutMessageAsync(Message, CancellationToken) : ValueTask

Process InnerAdapter output message.

message
The message.
cancellationToken
Cancellation token.