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
id
GuidThe 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
message
MessageMessage.
Register(AlertSchema)
Register schema.
void Register(AlertSchema schema)
Parameters
schema
AlertSchemaSchema.
UnRegister(AlertSchema)
Remove previously registered by Register(AlertSchema) schema.
void UnRegister(AlertSchema schema)
Parameters
schema
AlertSchemaSchema.
Events
Registered
Schema registration event.
event Action<AlertSchema> Registered
Event Type
UnRegistered
Schema unregistering event.
event Action<AlertSchema> UnRegistered