Interface ISecurityMessageAdapterProvider
- Namespace
- StockSharp.Algo.Storages
- Assembly
- StockSharp.Algo.dll
The security based message adapter's provider interface.
public interface ISecurityMessageAdapterProvider : IMappingMessageAdapterProvider<Tuple<SecurityId, DataType>>
- Inherited Members
- Extension Methods
Methods
SetAdapter(SecurityId, DataType, Guid)
Make association with adapter.
bool SetAdapter(SecurityId securityId, DataType dataType, Guid adapterId)
Parameters
securityId
SecurityIdSecurity ID.
dataType
DataTypeData type.
adapterId
GuidAdapter identifier.
Returns
TryGetAdapter(SecurityId, DataType)
Get adapter by the specified security id.
Guid? TryGetAdapter(SecurityId securityId, DataType dataType)
Parameters
securityId
SecurityIdSecurity ID.
dataType
DataTypeData type.