Class tdbevent

Unit

Declaration

type tdbevent = class(tmsecomponent)

Description

Listens for a server-side notification on the connected database: Postgres NOTIFY or Firebird POST_EVENT, typically raised by a trigger or stored procedure. Set eventname and listen to True to start listening.

Hierarchy

Overview

Methods

Protected procedure doexecute(const aid: int64); virtual;
Protected procedure checkinactive;
Protected procedure checkactive;
Protected procedure loaded; override;
Protected procedure notification(acomponent: tcomponent; operation: toperation); override;
Public destructor destroy; override;
Public procedure fire;

Properties

Published property database: tmdatabase read fdatabase write setdatabase;
Published property eventname: string read feventname write seteventname;
Published property listen: boolean read flisten write setlisten default false;
Published property onexecute: dbeventty read fonexecute write fonexecute;

Description

Methods

Protected procedure doexecute(const aid: int64); virtual;

This item has no description.

Protected procedure checkinactive;

This item has no description.

Protected procedure checkactive;

This item has no description.

Protected procedure loaded; override;

This item has no description.

Protected procedure notification(acomponent: tcomponent; operation: toperation); override;

This item has no description.

Public destructor destroy; override;

This item has no description.

Public procedure fire;

This item has no description.

Properties

Published property database: tmdatabase read fdatabase write setdatabase;

This item has no description.

Published property eventname: string read feventname write seteventname;

This item has no description.

Published property listen: boolean read flisten write setlisten default false;

This item has no description.

Published property onexecute: dbeventty read fonexecute write fonexecute;

aid is the process ID of the connection that raised the notification — compare it to the current connection's own PID to ignore notifications caused by this session's own actions.


Generated by PasDoc 1.0.4.