Table of Contents

Class SecurityMappingMessageAdapter

Namespace
StockSharp.Algo
Assembly
StockSharp.Algo.dll

Security identifier mappings message adapter.

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

Constructors

SecurityMappingMessageAdapter(IMessageAdapter, ISecurityMappingStorage)

Initializes a new instance of the SecurityMappingMessageAdapter.

public SecurityMappingMessageAdapter(IMessageAdapter innerAdapter, ISecurityMappingStorage storage)

Parameters

innerAdapter IMessageAdapter

The adapter, to which messages will be directed.

storage ISecurityMappingStorage

Security identifier mappings storage.

Properties

Storage

Security identifier mappings storage.

public ISecurityMappingStorage Storage { get; }

Property Value

ISecurityMappingStorage

Methods

Clone()

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.