Indy 9
TWorkBeginEvent
Unit: IdComponent
Indicates a pending read or write operation.
TWorkBeginEvent = procedure (Sender: TObject; AWorkMode: TWorkMode; const AWorkCountMax: Integer) of object;
Unit
IdComponent
Parameters
AWorkCountMax
The number of bytes expected for this operation. Default value is 0.
AWorkMode
The operation to be performed.
Sender
Object instance triggering the event.
Description
TWorkBeginEvent is the event used to indicate that the component is about to read data from the peer or send data to the peer.

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

AWorkCountMax is the number of bytes expected for this operation, or 0 when no value is provided.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.