Internet Direct (Indy)
Home
PreviousUpNext
TIdContextBeforeRun Type

Type used for the OnBeforeRun event handler in a TCP server.

Pascal
TIdContextBeforeRun = procedure (AContext: TIdContext) of object;
Parameters 
Description 
AContext 
Session context for the event handler procedure. 

TIdContextBeforeRun is an object procedure that implements the type used for the OnBeforeRun event handler in TIdContext

AContext is the session context passed for the event handler procedure that represents the executable for a client connection to a TCP server. 

The TIdContextBeforeRun object procedure is used following creation of a session context by a listener thread for the TCP server. TIdContextBeforeRun is signalled once before execution of the OnExecute loop for the session context.

TIdContext.OnBeforeRun TIdTCPServer.OnConnect

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.