Sign in Join
FPDoc Onlineexperiment

TDaemonDef class

In unit DaemonApp

Daemon definition.

Declaration

pascal
TDaemonDef = class(TCollectionItem)

Inheritance

  1. TDaemonDef
  2. TCollectionItem
  3. TPersistent
  4. TObject

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

Properties

DaemonClasspublicTDaemon class to use for this daemon.
InstancepublicInstance of the daemon class.
DaemonClassNamepublishedName of the TDaemon class to use for this daemon.
NamepublishedName of the daemon (service).
DescriptionpublishedDescription of the daemon.
DisplayNamepublishedDisplayed name of the daemon (service).
RunArgumentspublishedAdditional command-line arguments when running daemon.
OptionspublishedService options.
EnabledpublishedIs the daemon enabled or not.
WinBindingspublishedWindows-specific bindings (windows only).
LogStatusReportpublishedLog the status report to the system log.

Methods

GetDisplayNameprotectedReturns the of the collectionitem.
CreatepublicCreate a new TDaemonDef instance.
DestroypublicFree a TDaemonDef from memory.

Events

OnCreateInstancepublishedEvent called when a daemon in instantiated.

Inherited

From TCollectionItem (9)

Changed Collection GetNamePath GetOwner ID Index SetCollection SetDisplayName SetIndex

From TPersistent (6)

Assign AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.