Internet Direct (Indy)
Home
PreviousUpNext
TIdCustomTCPServer.Destroy Destructor

Frees the object instance.

Pascal
destructor Destroy; override;

Destroy is the destructor for the TIdCustomTCPServer instance. 

Destroy sets the Active property to False, which forces the server to terminate the listener threads and the executable tasks for client connections to the server. 

Destroy frees resources allocated to the IOHandler property when ImplicitIOHandler contains True. 

Destroy frees any Bindings allocated for listener threads in the server. 

Destroy frees any entries in Contexts allocated to executable tasks for client connections to the server. 

Destroy calls the inherited Destroy method.

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.