ISecurityMessageAdapterProvider
StockSharp.Algo.Storages
The security based message adapter's provider interface.
Implements: IMappingMessageAdapterProvider<ValueTuple<SecurityId, DataType>>
Methods
SetAdapter(SecurityId, DataType, Guid) : bool
Make association with adapter.
- securityId
- Security ID.
- dataType
- Data type.
- adapterId
- Adapter identifier.
Returns: if the association is successfully changed, otherwise, .
TryGetAdapter(SecurityId, DataType) : Guid?
Get adapter by the specified security id.
- securityId
- Security ID.
- dataType
- Data type.
Returns: Found adapter identifier or .