Class CandleBuilderMessageAdapter
- Namespace
- StockSharp.Algo.Candles.Compression
- Assembly
- StockSharp.Algo.dll
Candle builder adapter.
public class CandleBuilderMessageAdapter : MessageAdapterWrapper, IMessageAdapterWrapper, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable
- Inheritance
-
CandleBuilderMessageAdapter
- Implements
-
ICloneable<IMessageChannel>IPersistable
- Inherited Members
- Extension Methods
Constructors
CandleBuilderMessageAdapter(IMessageAdapter, CandleBuilderProvider)
Initializes a new instance of the CandleBuilderMessageAdapter.
public CandleBuilderMessageAdapter(IMessageAdapter innerAdapter, CandleBuilderProvider candleBuilderProvider)
Parameters
innerAdapter
IMessageAdapterInner message adapter.
candleBuilderProvider
CandleBuilderProviderCandle builders provider.
Properties
SendFinishedCandlesImmediatelly
Send out finished candles when they received.
public bool SendFinishedCandlesImmediatelly { get; set; }
Property Value
Methods
Clone()
Create a copy of CandleBuilderMessageAdapter.
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.