Internet Direct (Indy)
Home
PreviousUpNext
TIdYarnOfThread.Create Constructor

Constructor for the object instance.

Pascal
constructor Create(
    AScheduler: TIdScheduler; 
    AThread: TIdThreadWithTask
); reintroduce;
Parameters 
Description 
AScheduler 
Scheduler used to managed the thread-based yarn.
 
AThread 
Executable task for a client connection. 

Create is the constructor for the object instance. 

Create calls the inherited constructor, and sets the value in Thread to the TIdThreadWithTask instance passed in the ATHread argument. Create sets the value for the internal refence to the scheduler passed in AScheduler. Create also stores a reference to the current yarn in the TIdThreadWithTask for the thread in AThread.

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.