[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Daemon definition
Source position: daemonapp.pp line 212
type TDaemonDef = class(TCollectionItem) |
||
public |
||
constructor Create(); override; |
|
Create a new TDaemonDef instance |
destructor Destroy; override; |
|
Free a TDaemonDef from memory |
|
TDaemon class to use for this daemon |
|
|
Instance of the daemon class |
|
published |
||
|
Name of the TDaemon class to use for this daemon |
|
Name: ; |
|
Name of the daemon (service) |
Description: ; |
|
Description of the daemon |
DisplayName: ; |
|
Displayed name of the daemon (service) |
RunArguments: ; |
|
Additional command-line arguments when running daemon. |
|
Service options |
|
Enabled: Boolean; |
|
Is the daemon enabled or not |
|
Windows-specific bindings (windows only) |
|
|
Event called when a daemon in instantiated |
|
LogStatusReport: Boolean; |
|
Log the status report to the system log |
end; |
|
Daemon definition |
|
| | ||
| | ||
| | ||
TDaemonDef contains the definition of a daemon in the application: The name of the daemon, which TCustomDaemon descendent should be started to run the daemon, a description, and various other options should be set in this class. The global TDaemonApplication instance maintains a collection of TDaemonDef instances and will use these definitions to install or start the various daemons.
|
Default descendent of CustomDaemonApplication |
|
|
Daemon class for visual development |