Interface IAlertProcessingService
- Namespace
- StockSharp.Alerts
- Assembly
- StockSharp.Alerts.Interfaces.dll
Defines an alert processing service.
public interface IAlertProcessingService : IPersistable, ILogSource, IDisposable- Inherited Members
- Extension Methods
Properties
Schemas
All schemas.
IEnumerable<AlertSchema> Schemas { get; }Property Value
Methods
FindSchema(Guid)
Find schema by the specified identifier.
AlertSchema FindSchema(Guid id)Parameters
- idGuid
- The identifier. 
Returns
- AlertSchema
- Found schema. null if schema with the specified identifier doesn't exist. 
Process(Message)
Check message on alert conditions.
void Process(Message message)Parameters
- messageMessage
- Message. 
Register(AlertSchema)
Register schema.
void Register(AlertSchema schema)Parameters
- schemaAlertSchema
- Schema. 
UnRegister(AlertSchema)
Remove previously registered by Register(AlertSchema) schema.
void UnRegister(AlertSchema schema)Parameters
- schemaAlertSchema
- Schema. 
Events
Registered
Schema registration event.
event Action<AlertSchema> RegisteredEvent Type
UnRegistered
Schema unregistering event.
event Action<AlertSchema> UnRegistered