Internet Direct (Indy)
Home
PreviousUpNext
TIdListenerThread.OnBeforeRun Event

Event handler signalled before execution of a TCP server listener thread.

Pascal
property OnBeforeRun: TIdNotifyThreadEvent;

OnBeforeRun is a TIdNotifyThreadEvent property that represents the event handler signalled prior to execution of the listener thread for the TCP server. 

OnBeforeRun is given the value assigned to the OnBeforeListenerRun event handler in TIdCustomTCPServer, and can be used to perform logging or initalization tasks proper to starting the listener thread. 

OnBeforeRun is triggered during start-up for the TCP server when the value in the TIdCustomTCPServer.Active property is set to True.

TIdNotifyThreadEvent 

TIdTCPServer.OnBeforeListenerRun 

TIdTCPServer.Active

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.