Internet Direct (Indy)
Home
PreviousUpNext
TIdContextAfterRun Type

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

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

TIdContextAfterRun is an object procedure that implements the type used for the OnAfterRun 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 TIdContextAfterRun object procedure is used when execution of the task in OnExecute has been completed, and prior to removing the task for the session contexts in the TCP server.

TIdContext.OnAfterRun 

TIdTCPServer.OnDisconnect

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.