Create daemon instance.
Source position: daemonapp.pp line 401
public function TCustomDaemonApplication.CreateDaemon( |
DaemonDef: TDaemonDef |
DaemonDef |
|
Daemon definition containing information to create a daemon. |
New TCustomDaemon instance.
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 TDaemonDef.Instance property.
In case of an error, an exception may be raised.
|
Internal daemon controller class. |
|
|
Base daemon application class. |
|
|
Daemon definition. |
|
|
Instance of the daemon class. |