Table of Contents

Interface IMessageAdapterProvider

Namespace
StockSharp.Messages
Assembly
StockSharp.Messages.dll

The message adapter's provider interface.

public interface IMessageAdapterProvider
Extension Methods

Properties

CurrentAdapters

All currently available adapters.

IEnumerable<IMessageAdapter> CurrentAdapters { get; }

Property Value

IEnumerable<IMessageAdapter>

PossibleAdapters

All possible adapters.

IEnumerable<IMessageAdapter> PossibleAdapters { get; }

Property Value

IEnumerable<IMessageAdapter>

Methods

CreateStockSharpAdapters(IdGenerator, string, SecureString)

Create adapters for StockSharp server connections.

IEnumerable<IMessageAdapter> CreateStockSharpAdapters(IdGenerator transactionIdGenerator, string login, SecureString password)

Parameters

transactionIdGenerator IdGenerator

Transaction id generator.

login string

Login.

password SecureString

Password.

Returns

IEnumerable<IMessageAdapter>

Adapters for StockSharp server connections.

CreateTransportAdapter(IdGenerator)

Create adapter for client-server communication.

IMessageAdapter CreateTransportAdapter(IdGenerator transactionIdGenerator)

Parameters

transactionIdGenerator IdGenerator

Transaction id generator.

Returns

IMessageAdapter

Message adapter.