EPUB | CHM | PDF

TPSQLNotify.Methods.SendNotify

Top Previous Next

Sends notification.

Syntax:

procedure SendNotify(Event: String); overload;
procedure SendNotify(Channel: string; Payload: string); overload;

Description:

Use SendNotify to notify other client applications about event you want to notify them. See Notify demo project sources for details.

Channel, Event

Name of the notification channel to be signaled (any identifier).

Payload

The "payload" string to be communicated along with the notification. This must be specified as a simple string literal. In the default configuration it must be shorter than 8000 bytes.

If binary data or large amounts of information need to be communicated, it's best to put it in a database table and send the key of the record.