Sign in Join
FPDoc Onlineexperiment

TDaemon.OnExecute property

Member of TDaemonpublishedIn unit DaemonApp

Daemon execute event.

Declaration

pascal
property OnExecute: TDaemonEvent read FOnExecute write FOnExecute;

Description

OnExecute is executed once after the daemon was started. If assigned, it should perform whatever operation the daemon is designed.

If the daemon's action is event based, then no OnExecute handler is needed, and the events will control the daemon's execution: the daemon thread will then go in a loop, passing control messages to the daemon.

If an OnExecute event handler is present, the checking for control messages must be done by the implementation of the OnExecute handler.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.