Table of Contents

Class SnapshotHolderMessageAdapter

Namespace
StockSharp.Algo
Assembly
StockSharp.Algo.dll

The message adapter snapshots holder.

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

Constructors

SnapshotHolderMessageAdapter(IMessageAdapter, ISnapshotHolder)

Initializes a new instance of the SnapshotHolderMessageAdapter.

public SnapshotHolderMessageAdapter(IMessageAdapter innerAdapter, ISnapshotHolder holder)

Parameters

innerAdapter IMessageAdapter

Underlying adapter.

holder ISnapshotHolder

Snapshot holder.

Methods

Clone()

Create a copy of SnapshotHolderMessageAdapter.

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.