Topic Path: Symbol Reference > Classes > TIdYarnOfThread Class > TIdYarnOfThread Methods > Create Constructor
TIdYarnOfThread.Create Constructor

Constructor for the object instance.

constructor Create(
    AScheduler: TIdScheduler; 
    AThread: TIdThreadWithTask
); reintroduce;
Scheduler used to managed the thread-based yarn.
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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.