[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 308

type TDaemonThread = class(TThread) end;

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

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: Nov 14 2015