ODAC

TOraAlerter Class

A component allowing transferring messages between sessions or client applications.

For a list of all members of this type, see TOraAlerter members.

Unit

OraAlerter

Syntax

TOraAlerter = class(TDAAlerter);

Remarks

The TOraAlerter component allows to transfer messages between sessions or client applications. Use the EventType property to specify what kind of messages will be used. The TOraAlerter component supports Oracle alerts by DBMS_ALERT and pipes by DBMS_PIPE. You can send and get messages with the help of this component. When TOraAlerter is started by Start method it waits messages in a background thread. If a message is received, the OnEvent event occurs. If no messages were received during the TimeOut time, the OnTimeOut event occurs.

Note: Alerts are transaction-based. This means that the waiting session does not get alert until the transaction signaling the alert commits.

Inheritance Hierarchy

TDAAlerter
   TOraAlerter

© 1997-2022 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback