[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Base daemon application class
Source position: daemonapp.pp line 41
type TCustomDaemon = class(TDataModule) end; |
||
public |
||
procedure CheckControlMessages(); |
||
procedure LogMessage(); |
|
Log a message to the system log |
procedure ReportStatus; |
|
Report the current status to the operating system |
property Definition: TDaemonDef; [r] |
|
The definition used to instantiate this daemon instance |
property DaemonThread: TThread; [r] |
|
Thread in which daemon is running |
property Controller: TDaemonController; [r] |
|
TDaemonController instance controlling this daemon instance |
property Status: TCurrentStatus; [rw] |
|
Current status of the daemon |
|
TEventLog instance used to send messages to the system log |
|
|
Base daemon application class |
|
| | ||
| | ||
| | ||
| | ||
TCustomDaemon implements all the basic calls that are needed for a daemon to function. Descendents of TCustomDaemon can override these calls to implement the daemon-specific behaviour.
TCustomDaemon is an abstract class, it should never be instantiated. Either a descendent of it must be created and instantiated, or a descendent of TDaemon can be designed to implement the behaviour of the daemon.
|
Daemon class for visual development |
|
|
Daemon definition |
|
|
Internal daemon controller class |
|
|
Default descendent of CustomDaemonApplication |