Skip to content

TDaemonDef.OnCreateInstance

Event called when a daemon in instantiated.

Declaration

Source position: daemonapp.pp line 277

published property OnCreateInstance: TNotifyEvent;

Description

OnCreateInstance is called whenever an instance of the daemon is created. This can be used for instance when a single TDaemon class is used to run several services, to correctly initialize the TDaemon.