Internet Direct (Indy) Version 9.0.1 Beta
TIdTCPConnection.OnWorkEnd
WorkEnd event handler triggered when stopping read and write buffering operations.

property OnWorkEnd;
Description
OnWorkEnd is an event of type TWorkEndEvent as implemented in TIdComponent. OnWorkEnd is used in conjunction with EndWork to notify Indy components and classes when buffered read or write operations are concluded.

AWorkMode indicates the operation performed and the notification sent to OnWork. AWorkMode can contain one of the following values:

AWorkCount contains the number of bytes affected by the operation.

TIdTCPConnection publishes the OnWorkEnd event. OnWorkEnd is not published in the ancestor class TIdComponent.