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

TDaemonDef

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

Daemon definition.

Declaration

Source position: daemonapp.pp line 244

type TDaemonDef = class(TCollectionItem)

public

  constructor Create(); override;

  

Create a new TDaemonDef instance.

  destructor Destroy; override;

  

Free a TDaemonDef from memory.

  property DaemonClass: TCustomDaemonClass; [r]

  

TDaemon class to use for this daemon.

  property Instance: TCustomDaemon; [rw]

  

Instance of the daemon class.

published

  property DaemonClassName: string; [rw]

  

Name of the TDaemon class to use for this daemon.

  property Name: string; [rw]

  

Name of the daemon (service).

  property Description: string; [rw]

  

Description of the daemon.

  property DisplayName: string; [rw]

  

Displayed name of the daemon (service).

  property RunArguments: string; [rw]

  

Additional command-line arguments when running daemon.

  property Options: TDaemonOptions; [rw]

  

Service options.

  property Enabled: Boolean; [rw]

  

Is the daemon enabled or not.

  property WinBindings: TWinBindings; [rw]

  

Windows-specific bindings (windows only).

  property OnCreateInstance: TNotifyEvent; [rw]

  

Event called when a daemon in instantiated.

  property LogStatusReport: Boolean; [rw]

  

Log the status report to the system log.

end;

Inheritance

TDaemonDef

  

Daemon definition.

|

TCollectionItem

|

TPersistent

|

TObject,IFPObserved

Description

TDaemonDef contains the definition of a daemon in the application: The name of the daemon, which TCustomDaemon descendent should be started to run the daemon, a description, and various other options should be set in this class. The global TDaemonApplication instance maintains a collection of TDaemonDef instances and will use these definitions to install or start the various daemons.

See also

TDaemonApplication

  

Default descendent of CustomDaemonApplication.

TDaemon

  

Daemon class for visual development.


Documentation generated on: Dec 22 2024