Unit 'daemonapp' Package
[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TDaemonThread.CheckControlMessage

Check if a control message has arrived.

Declaration

Source position: daemonapp.pp line 348

public procedure TDaemonThread.CheckControlMessage(

  WaitForMessage: Boolean

);

Arguments

WaitForMessage

  

If true, routine waits for message to arrive before returning.

Description

CheckControlMessage checks if a control message has arrived for the daemon and executes the appropriate daemon message. If the parameter WaitForMessage is True, then the routine waits for the message to arrive. If it is False and no message is present, it returns at once.


Documentation generated on: Nov 22 2024