System.Win.ScktComp.TServerClientThread.Execute

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Execute; override;

C++

virtual void __fastcall Execute();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Win.ScktComp.pas
System.Win.ScktComp.hpp
System.Win.ScktComp TServerClientThread

Description

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

Execute is called automatically when the thread runs. A thread runs when Create is called if CreateSuspended is set to false, or when Resume is first called after the creation of the thread if CreateSuspended is 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.

See Also