Skip to content

TDaemonController.Controller

Controller.

Declaration

Source position: daemonapp.pp line 144

public 
procedure TDaemonController.Controller(ControlCode: DWord; 
                                      EventType: DWord; 
                                      EventData: Pointer);  virtual;

Description

Controller is responsible for sending the control code to the daemon thread so it can be processed.

This routine is currently only used on windows, as there is no service manager on Linux. Later on this may be changed to respond to signals on Linux as well.

See also

Name Description
TDaemon.OnControlCode Called when a control code is received for the daemon.