Internet Direct (Indy)
Home
PreviousUpNext
TIdThreadWithTask.Task Property

Represents the executable task for a client connection in the thread instance.

Pascal
property Task: TIdTask;

Task is a TIdTask property that represents the executable task for a client connection in the thread instance. 

Task is the client context for the thread, and is used in scheduling clinet connections in TIdTCPServer. Task allows the thread to be scheduled normally, but defers execution to the TIdTask indicated in the Task property in its BeforeRun, Run, and AfterRun methods.

TIdTCPServer.Contexts 

TIdTCPServer.Scheduler 

TIdScheduler 

TIdSchedulerOfThread 

TIdSchedulerOfThreadPool

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.