Internet Direct (Indy) Version 9.0.1 Beta
TWorkInfo
Represents work information for Indy read and write operations.

TWorkInfo = record
  Current: Integer;
  Max: Integer;
  Level: Integer;
  end;
Description
TWorkInfo is a Record structure used to represent information about Indy read and write operations. TIdComponent allocates two TWorkInfo records, one to represent read operations and one to represent write operations.

TWorkInfo structures are maintain in the BeginWork and EndWork method of TIdComponent.

Current is an Integer value that identifies the number of bytes available to the operation.

Max is an Integer value that indicates the maximum number of bytes that are available to the operation.

Current should never exceed the value of Max.

Level is an Integer value that identifies the number of operations of that type that are pending. Level can range from 0 to the number of nested calls to BeginWork for the operation type.