Internet Direct (Indy)
Home
PreviousUpNext
TIdLocalEvent.Create Constructor

Constructor for the object instance.

Pascal
constructor Create(
    const AInitialState: Boolean = False; 
    const AManualReset: Boolean = False
); reintroduce;
Parameters 
Description 
AInitialState 
Indicates if the initial signal state is cleared. Default value is False.
 
AManualReset 
Indicates if the signal state is reset for a waiting thread. Default value is False. 

Create is the reintroduced constructor for the object instance. Create calls the inherited Create method using the input parameters to initialize the object instance. 

TIdLocalEvent is created using the default Event attributes to allow inheritance of the security attributes of the process that creates the event. 

When AInitialState is False, the TIdLocalEvent is created with the initial event signal state cleared (not set). 

When AManualReset is False, the TIdLocalEvent can be automatically reset when the single thread that waits on the signal is released. It does not require a call to ResetEvent.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.