Table of Contents

Class PassThroughMessageAdapter

Namespace
StockSharp.Messages
Assembly
StockSharp.Messages.dll

Special adapter, which transmits directly to the output of all incoming messages.

public class PassThroughMessageAdapter : MessageAdapter, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanged
Inheritance
PassThroughMessageAdapter
Implements
ICloneable<IMessageChannel>
IPersistable
Inherited Members
Extension Methods

Constructors

PassThroughMessageAdapter(IdGenerator)

Initializes a new instance of the PassThroughMessageAdapter.

public PassThroughMessageAdapter(IdGenerator transactionIdGenerator)

Parameters

transactionIdGenerator IdGenerator

Transaction id generator.

Methods

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.