TCustomDaemonApplication.CreateDaemon function
Create daemon instance.
Declaration
function CreateDaemon(DaemonDef: TDaemonDef): TCustomDaemonArguments
DaemonDef | Daemon definition containing information to create a daemon. |
Function result
New
TCustomDaemon instance.
Description
CreateDaemon is called whenever a
TCustomDaemon instance
must be created from a
TDaemonDef daemon definition, passed in
DaemonDef. It initializes the
TCustomDaemon instance,
and creates a controller instance of type
TDaemonController to
control the daemon. Finally, it assigns the created daemon to the
Instance property.Errors
In case of an error, an exception may be raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
