[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'daemonapp' (#fcl)


Daemon execute event


Source position: daemonapp.pp line 114

published property TDaemon.OnExecute : TDaemonEvent
  read FOnExecute
  write FOnExecute;


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



Daemon start event



Daemon stop event

Documentation generated on: May 14 2021