Table of Contents

Class StorageMessageAdapter

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

Storage based message adapter.

public class StorageMessageAdapter : MessageAdapterWrapper, IMessageAdapterWrapper, IMessageAdapter, IMessageTransport, IPersistable, ILogReceiver, ILogSource, IDisposable, ICloneable<IMessageAdapter>, ICloneable
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.

Methods

Clone()

Create a copy of StorageMessageAdapter.

public override IMessageChannel Clone()

Returns

IMessageChannel

Copy.

GetSupportedMarketDataTypes(SecurityId, DateTimeOffset?, DateTimeOffset?)

public override IEnumerable<DataType> GetSupportedMarketDataTypes(SecurityId securityId, DateTimeOffset? from, DateTimeOffset? to)

Parameters

securityId SecurityId
from DateTimeOffset?
to DateTimeOffset?

Returns

IEnumerable<DataType>

OnSendInMessage(Message)

protected override bool OnSendInMessage(Message message)

Parameters

message Message

Returns

bool