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

Event handler signalled before execution of the client connection context.

property OnBeforeRun: TIdContextBeforeRun;

OnBeforeRun is a TIdContextBeforeRun event handler property used following creation of a session context by a listener thread for the TCP server. 

The session context that represents the executable for a client connection is passed as an argument to the event handler procedure. 

OnBeforeRun is normally assigned a procedure runs the OnConnect event handler in TIdTCPServer. OnBeforeRun is signalled once before execution of the OnRun loop for the session context.

TIdContextBeforeRun 

TIdTCPServer.OnConnect

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