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

Defines the event handler that executes the task for a client session context.

File
TIdContextRun = function (AContext: TIdContext): Boolean of object;
Parameters 
Description 
AContext 
Context for the client session to be executed. 

TIdContextRun is a Boolean object function used to define the event handler that executes the task for a client session context in TIdTCPServer

TIdContextRun is the type used for the TIdContext.OnRun event handler. TIdContext.OnRun is used in conjunction with the protected method in TIdTCPServer that triggers the OnExecute event handler for client session Contexts in the server instance.

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