SecurityMappingManager
StockSharp.Algo
Security mapping message processing implementation.
Implements: ISecurityMappingManager
Constructors
SecurityMappingManager
public SecurityMappingManager(ISecurityMappingStorageProvider provider, Func<string> storageName, Action<string, object, object, object> logInfo)
securityMappingManager = SecurityMappingManager(provider, storageName, logInfo)
Security mapping message processing implementation.
- provider
- Security identifier mappings storage provider.
- storageName
- Storage name for lookups.
- logInfo
- Logger for info messages.
Methods
ProcessInMessage
public ValueTuple<Message, bool> ProcessInMessage(Message message)
result = securityMappingManager.ProcessInMessage(message)
Process a message going into the inner adapter.
- message
- Incoming message.
Returns: Processing result with modified message (or null if not modified) and whether to forward.
ProcessOutMessage
public ValueTuple<Message, bool> ProcessOutMessage(Message message)
result = securityMappingManager.ProcessOutMessage(message)
Process a message coming from the inner adapter.
- message
- Outgoing message.
Returns: Processing result with modified message (or null if should be skipped) and whether to forward.