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

Indicates a pending read or write operation.

File
TWorkBeginEvent = procedure (ASender: TObject; AWorkMode: TWorkMode; AWorkCountMax: Integer) of object;
Parameters 
Description 
ASender 
Object instance triggering the event.
 
AWorkMode 
The operation to be performed.
 
AWorkCountMax 
The number of bytes expected for this operation. 

TWorkBeginEvent is the event used to indicate that the component is about to read or write data using the peer connection. 

ASender is the object instance triggering the event. 

AWorkMode is the TWorkMode value that indicates the operation to be performed. 

AWorkCountMax is the number of bytes expected for this operation. AWorkCountMax may contain 0 when the number of bytes for the read and/or write operation is not known. 

TWorkBeginEvent is the event type signalled in TIdComponent.BeginWork.

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