TDaemonDef class
Daemon definition.
Declaration
TDaemonDef = class(TCollectionItem)Inheritance
- TDaemonDef
- TCollectionItem
- TPersistent
- 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
DaemonClass | public | TDaemon class to use for this daemon. |
Instance | public | Instance of the daemon class. |
DaemonClassName | published | Name of the TDaemon class to use for this daemon. |
Name | published | Name of the daemon (service). |
Description | published | Description of the daemon. |
DisplayName | published | Displayed name of the daemon (service). |
RunArguments | published | Additional command-line arguments when running daemon. |
Options | published | Service options. |
Enabled | published | Is the daemon enabled or not. |
WinBindings | published | Windows-specific bindings (windows only). |
LogStatusReport | published | Log the status report to the system log. |
Methods
GetDisplayName | protected | Returns the of the collectionitem. |
Create | public | Create a new TDaemonDef instance. |
Destroy | public | Free a TDaemonDef from memory. |
Events
OnCreateInstance | published | Event 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.
