Table of Contents

Class StorageMessageAdapter

Namespace
StockSharp.Algo.Storages
Assembly
StockSharp.Algo.dll

Storage based message adapter.

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

Remarks

Initializes a new instance of the StorageMessageAdapter.

Constructors

StorageMessageAdapter(IMessageAdapter, StorageProcessor)

Storage based message adapter.

public StorageMessageAdapter(IMessageAdapter innerAdapter, StorageProcessor storageProcessor)

Parameters

innerAdapter IMessageAdapter

The adapter, to which messages will be directed.

storageProcessor StorageProcessor

Storage processor.

Remarks

Initializes a new instance of the StorageMessageAdapter.

Properties

SupportedMarketDataTypes

Supported by adapter market data types.

public override IEnumerable<DataType> SupportedMarketDataTypes { get; }

Property Value

IEnumerable<DataType>

Methods

Clone()

Create a copy of StorageMessageAdapter.

public override IMessageChannel Clone()

Returns

IMessageChannel

Copy.

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.