Topic Path: Symbol Reference > Classes > TIdListenerThread Class > TIdListenerThread Events > OnBeforeRun Event
ContentsIndexHome
PreviousUpNext
TIdListenerThread.OnBeforeRun Event

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

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

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.