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
PossibleAdapters
All possible adapters.
IEnumerable<IMessageAdapter> PossibleAdapters { get; }
Property Value
Methods
CreateStockSharpAdapters(IdGenerator, string, SecureString)
Create adapters for StockSharp server connections.
IEnumerable<IMessageAdapter> CreateStockSharpAdapters(IdGenerator transactionIdGenerator, string login, SecureString password)
Parameters
transactionIdGenerator
IdGeneratorTransaction id generator.
login
stringLogin.
password
SecureStringPassword.
Returns
- IEnumerable<IMessageAdapter>
Adapters for StockSharp server connections.
CreateTransportAdapter(IdGenerator)
Create adapter for client-server communication.
IMessageAdapter CreateTransportAdapter(IdGenerator transactionIdGenerator)
Parameters
transactionIdGenerator
IdGeneratorTransaction id generator.
Returns
- IMessageAdapter
Message adapter.