Sign in Join
FPDoc Onlineexperiment

TDaemonDef.OnCreateInstance property

Member of TDaemonDefpublishedIn unit DaemonApp

Event called when a daemon in instantiated.

Declaration

pascal
property OnCreateInstance: TNotifyEvent read FOnCreateInstance write FOnCreateInstance;

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.

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