Table of Contents

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 IMessageAdapter

Inner message adapter.

candleBuilderProvider CandleBuilderProvider

Candle builders provider.

Properties

SendFinishedCandlesImmediatelly

Send out finished candles when they received.

public bool SendFinishedCandlesImmediatelly { get; set; }

Property Value

bool

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 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.