Daemon start event.
Source position: daemonapp.pp line 116
published property TDaemon.OnStart : TDaemonOKEvent |
OnStart is the event called when the daemon must be started. This event handler should return as quickly as possible. If it must perform lengthy operations, it is best to report the status to the operating system at regular intervals using the ReportStatus method.
If the start of the daemon should do some continuous action, then this action should be performed in a new thread: this thread should then be created and started in the OnExecute event handler, so the event handler can return at once.
|
Daemon stop event. |
|
|
Daemon execute event. |
|
|
Daemon continue. |
|
|
Report the current status to the operating system. |