Internet Direct (Indy) Version 9.0.2 Beta
|
procedure DoWork(AWorkMode: TWorkMode; const ACount: Integer); virtual;
AWorkMode is a TWorkMode enumerated type, and can contain the values:
ACount is the number of bytes to be affected by the AWorkMode operation.
DoWork allows the application to respond to calls to the BeginWork method, and maintains the number of bytes available to be process in the OnWork event handler. DoWork will not have any effect unless BeginWork is called prior to calling DoWork.
The Application must assign a procedure to the OnWork event handler in order to respond to the event notification.