Internet Direct (Indy)
Home
PreviousUpNext
TWorkBeginEvent Type

Indicates a pending read or write operation.

Pascal
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.

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.