Internet Direct (Indy)
Home
PreviousUpNext
TIdThreadWithTask Class

Implements threads created in a thread-based scheduler in TIdTCPServer.

Pascal
TIdThreadWithTask = class(TIdThread);

TIdThreadWithTask is a TIdThread descendant that implements the thread created by a thread-based scheduler in TIdTCPServer

TIdThreadWithTask introduces the Task property that represents the executable task for a client connection to a multi-threaded TCP server. 

TIdThreadWithTask 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.

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.