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
idGuidThe 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
messageMessageMessage.
Register(AlertSchema)
Register schema.
void Register(AlertSchema schema)
Parameters
schemaAlertSchemaSchema.
UnRegister(AlertSchema)
Remove previously registered by Register(AlertSchema) schema.
void UnRegister(AlertSchema schema)
Parameters
schemaAlertSchemaSchema.
Events
Registered
Schema registration event.
event Action<AlertSchema> Registered
Event Type
UnRegistered
Schema unregistering event.
event Action<AlertSchema> UnRegistered