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

TDaemon

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

Daemon class for visual development

Declaration

Source position: daemonapp.pp line 76

type TDaemon = class(TCustomDaemon)

public

  Definition: <NIL>;

  Status: <NIL>;

published

  OnStart: TDaemonOKEvent;

  

Daemon start event

  OnStop: TDaemonOKEvent;

  

Daemon stop event

  OnPause: TDaemonOKEvent;

  

Daemon pause event

  OnContinue: TDaemonOKEvent;

  

Daemon continue

  OnShutDown: TDaemonEvent;

  

Daemon shutdown

  OnExecute: TDaemonEvent;

  

Daemon execute event

  BeforeInstall: TDaemonEvent;

  

Called before the daemon will be installed

  AfterInstall: TDaemonEvent;

  

Called after the daemon was installed

  BeforeUnInstall: TDaemonEvent;

  

Called before the daemon is uninstalled

  AfterUnInstall: TDaemonEvent;

  

Called after the daemon is uninstalled

  OnControlCode: TCustomControlCodeEvent;

  

Called when a control code is received for the daemon

end;

Inheritance

TDaemon

  

Daemon class for visual development

|

TCustomDaemon

  

Base daemon application class

|

TDataModule

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

TObject

Description

TDaemon is a TCustomDaemon descendent which is meant for development in a visual environment: it contains event handlers for all major operations. Whenever a TCustomDaemon method is executed, it's execution is shunted to the event handler, which can be filled with code in the IDE.

All the events of the daemon are executed in the thread in which the daemon's controller is running (as given by DaemonThread), which is not the main program thread.

See also

TCustomDaemon

  

Base daemon application class

TDaemonController

  

Internal daemon controller class


Documentation generated on: Oct 27 2012