RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TServerClientThread.Execute Method

Manages the caching of server client threads and calls the ClientExecute method to run the thread for individual client connections.

Pascal
procedure Execute; override;
C++
virtual __fastcall Execute();

Execute is called automatically when the thread runs. A thread runs when Create is called if CreateSuspended set to false, or when Resume is first called after the thread is created if CreateSuspended set to true. 

Do not override the Execute method to implement the thread function of a TServerClientThread descendant. Instead, override the ClientExecute method, which is run after the thread is initialized for a particular client connection. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!