TFDCustomEventAlerter = class (TFDComponent, IFDPhysEventHandler)
class PASCALIMPLEMENTATION TFDCustomEventAlerter : public Firedac::Stan::Intf::TFDComponent
The class responsible for handling the database event notifications.
Use the TFDCustomEventAlerter class to handle the database event notifications. The kind and general behavior of the events is DBMS specific, but TFDCustomEventAlerter provides a unified way for handling them.
To start receiving the event alerts, fill in the Names property with required event names. Set Options.Kind to the event alerter kind or leave it empty to use the default alerter. Specify OnAlert event handler, which will be fired when an event occurs, and set Active to True or call the Register method. To stop receiving the event alerts, set Active to False or call Unregister.
For details about what FireDAC drivers support the event alerters and how to use them, see the Database Alerts chapter. This class hides some of the properties, allowing the descendant classes to control the properties' visibility. End users should use TFDEventAlerter.