Unit 'daemonapp' Package
[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TDaemonThread

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

Thread to run daemons in.

Declaration

Source position: daemonapp.pp line 339

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: Dec 22 2024