[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'daemonapp' (#fcl)

TDaemonThread

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Thread to run daemons in

Declaration

Source position: daemonapp.pp line 309

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;

Inheritance

TDaemonThread

  

Thread to run daemons in

|

TThread

|

TObject

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

TDaemonController

  

Internal daemon controller class

TDaemon

  

Daemon class for visual development


Documentation generated on: Jun 23 2021