System.Win.ScktComp.TCustomServerSocket.OnThreadEnd

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnThreadEnd: TThreadNotifyEvent read GetOnThreadEnd  write SetOnThreadEnd;

C++

__property TThreadNotifyEvent OnThreadEnd = {read=GetOnThreadEnd, write=SetOnThreadEnd};

Properties

Type Visibility Source Unit Parent
event protected
System.Win.ScktComp.pas
System.Win.ScktComp.hpp
System.Win.ScktComp TCustomServerSocket

Description

Occurs when a client socket connection is terminated and the associated thread finishes execution.

Write an OnThreadEnd to take specific action when the thread for a client connection finishes execution. OnThreadEnd occurs after the OnClientDisconnect event.

The Sender parameter is the TServerWinSocket that describes the server endpoint of the listening connection. The Thread parameter is the thread that is finishing up.

See Also