Sign in Join
FPDoc Onlineexperiment

TDaemonThread class

In unit DaemonApp

Thread to run daemons in.

Declaration

pascal
TDaemonThread = class(TThread)

Inheritance

  1. TDaemonThread
  2. TThread

Description

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.

See also

Properties

DaemonpublicDaemon instance.

Methods

StartServiceExecuteprotected
HandleControlCodeprotected
CreatepublicCreate a new thread.
ExecutepublicRun the daemon.
CheckControlMessagepublicCheck if a control message has arrived.
StopDaemonpublicStops the daemon.
PauseDaemonpublicPause the daemon.
ContinueDaemonpublicContinue the daemon.
ShutDownDaemonpublicShut down daemon.
InterrogateDaemonpublicReport the daemon status.

Inherited

From TThread (42)

AfterConstruction CheckTerminated CreateAnonymousThread Current CurrentIsMain CurrentThread Destroy DoTerminate ExecuteInThread ExternalThread FatalException Finished ForceQueue FreeOnTerminate GetCPUUsage GetSystemTimes GetTickCount GetTickCount64 Handle IsSingleProcessor NameThreadForDebugging OnTerminate Priority ProcessorCount Queue RemoveQueuedEvents Resume ReturnValue SetReturnValue Sleep SpinWait Start Suspend Suspended Synchronize Terminate Terminated TerminatedSet ThreadID TSystemTimes WaitFor Yield

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.