Table of Contents

Class OrderBookTruncateMessageAdapter

Namespace
StockSharp.Algo
Assembly
StockSharp.Algo.dll

The messages adapter build order book from incremental updates Increment.

public class OrderBookTruncateMessageAdapter : MessageAdapterWrapper, IMessageAdapterWrapper, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable
Inheritance
OrderBookTruncateMessageAdapter
Implements
ICloneable<IMessageChannel>
IPersistable
Inherited Members
Extension Methods

Constructors

OrderBookTruncateMessageAdapter(IMessageAdapter)

Initializes a new instance of the OrderBookTruncateMessageAdapter.

public OrderBookTruncateMessageAdapter(IMessageAdapter innerAdapter)

Parameters

innerAdapter IMessageAdapter

Underlying adapter.

Methods

Clone()

public override IMessageChannel Clone()

Returns

IMessageChannel

Copy.

OnInnerAdapterNewOutMessage(Message)

Process InnerAdapter output message.

protected override void OnInnerAdapterNewOutMessage(Message message)

Parameters

message Message

The message.

OnSendInMessage(Message)

Send message.

protected override bool OnSendInMessage(Message message)

Parameters

message Message

Message.

Returns

bool

true if the specified message was processed successfully, otherwise, false.