Internet Direct (Indy) Version 9.0.2 Beta
TIdAntiFreezeBase.DoProcess
Implements basic Process functionality for descendant classes.

class procedure DoProcess(const AIdle: boolean; const AOverride: boolean);
Parameters
const AIdle: boolean = true
True forces an Idle state. Default is True.

const AOverride: boolean = false
True overrides the current OnlyWhenIdle property. Default is False.

Description
DoProcess is a class procedure that implements the default behavior for the abstract Process method in TIdAntiFreezeBase descendants. DoProcess allows the component to force an idle state in the main thread of execution, and to allow message processing for other threads of execution.

Set AIdle to True to force an idle state in the main thread regardless of the OnlyWhenIdle value. Set AIdle to False to use the current OnlyWhenIdle value.

Set AOverride to True to force an idle state in the main thread regardless of either AIdle or OnlyWhenIdle values. Set AOverride to False to allow use of the current values in AIdle or OnlyWhenIdle.

DoProcess calls the Process method of the global GAntiFreeze application variable. Note: TIdAntiFreezeBase can only perform DoProcess when the calling client is the main application thread and the component is Active.