[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Thread to run daemons in
Source position: daemonapp.pp line 308
type TDaemonThread = class(TThread) |
||
public |
||
constructor Create(); |
|
Create a new thread |
procedure Execute; override; |
|
Run the daemon |
procedure CheckControlMessage(); |
|
Check if a control message has arrived |
function StopDaemon; virtual; |
|
Stops the daemon |
function PauseDaemon; virtual; |
|
Pause the daemon |
function ContinueDaemon; virtual; |
|
Continue the daemon |
function ShutDownDaemon; virtual; |
|
Shut down daemon |
function InterrogateDaemon; virtual; |
|
Report the daemon status |
property Daemon: TCustomDaemon; [r] |
|
Daemon instance |
end; |
|
Thread to run daemons in |
|
| | ||
| | ||
TDaemonThread is the thread in which the daemons in the application are run. Each daemon is run in it's own thread.
It should not be necessary to create these threads manually, the TDaemonController class will take care of this.
|
Internal daemon controller class |
|
|
Daemon class for visual development |