Topic Path: Symbol Reference > Types > TIdContextAfterRun Type
ContentsIndexHome
PreviousUpNext
TIdContextAfterRun Type

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

File
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

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