TDaemon.OnExecute property
Daemon execute event.
Declaration
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.
