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
IMessageAdapterUnderlying adapter.
holder
ISnapshotHolderSnapshot 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
MessageThe message.
OnSendInMessage(Message)
Send message.
protected override bool OnSendInMessage(Message message)
Parameters
message
MessageMessage.