[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Daemon class for visual development
Source position: daemonapp.pp line 78
type TDaemon = class(TCustomDaemon) |
||
public |
||
property Definition: TDaemonDef; |
||
property Status: TCurrentStatus; |
||
published |
||
property OnStart: TDaemonOKEvent; [rw] |
|
Daemon start event |
property OnStop: TDaemonOKEvent; [rw] |
|
Daemon stop event |
property OnPause: TDaemonOKEvent; [rw] |
|
Daemon pause event |
property OnContinue: TDaemonOKEvent; [rw] |
|
Daemon continue |
property OnShutDown: TDaemonEvent; [rw] |
|
Daemon shutdown |
property OnExecute: TDaemonEvent; [rw] |
|
Daemon execute event |
property BeforeInstall: TDaemonEvent; [rw] |
|
Called before the daemon will be installed |
property AfterInstall: TDaemonEvent; [rw] |
|
Called after the daemon was installed |
property BeforeUnInstall: TDaemonEvent; [rw] |
|
Called before the daemon is uninstalled |
property AfterUnInstall: TDaemonEvent; [rw] |
|
Called after the daemon is uninstalled |
property OnControlCode: TCustomControlCodeEvent; [rw] |
|
Called when a control code is received for the daemon |
end; |
|
Daemon class for visual development |
|
| | ||
|
Base daemon application class |
|
| | ||
| | ||
| | ||
| | ||
TObject |
TDaemon is a TCustomDaemon descendent which is meant for development in a visual environment: it contains event handlers for all major operations. Whenever a TCustomDaemon method is executed, it's execution is shunted to the event handler, which can be filled with code in the IDE.
All the events of the daemon are executed in the thread in which the daemon's controller is running (as given by DaemonThread), which is not the main program thread.
|
Base daemon application class |
|
|
Internal daemon controller class |