[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Internal daemon controller class.
Source position: daemonapp.pp line 132
type TDaemonController = class(TComponent) |
||
public |
||
constructor Create(); override; |
|
Create a new instance of the TDaemonController class. |
destructor Destroy; override; |
|
Free a TDaemonController instance. |
procedure StartService; virtual; |
|
Start the service. |
procedure Main(); virtual; |
|
Daemon main entry point. |
procedure Controller(); virtual; |
|
Controller. |
function ReportStatus; virtual; |
|
Report the status to the operating system. |
property Daemon: TCustomDaemon; [r] |
|
Daemon instance this controller controls. |
|
Parameters passed to the daemon. |
|
property LastStatus: TCurrentStatus; [r] |
|
Last reported status. |
property CheckPoint: DWord; [r] |
|
Send checkpoint signal to the operating system. |
end; |
|
Internal daemon controller class. |
|
| | ||
| | ||
| | ||
TObject,IFPObserved |
TDaemonController is a class that is used by the TDaemonApplication class to control the daemon during runtime. The TDaemonApplication class instantiates an instance of TDaemonController for each daemon in the application and communicates with the daemon through the TDaemonController instance. It should rarely be necessary to access or use this class.
|
Base daemon application class. |
|
|
Default descendent of CustomDaemonApplication. |