Packet Sniffer SDK VCL Edition

HNFileAdapter :: Events :: OnThreadEnd

 Previous Next

Tracks the closing of the internal component thread.

Syntax:

TOnThreadEnd = procedure (Sender : TObject;
                          ThParam: Pointer) of object;

Parameters:

ThParam

[in] User defined thread parameter (see HNFileAdapter.OnThreadBegin).

Description:

Set this event handler to execute necessary functions at the moment of the closing of the internal component thread. This event handler is called in the context of the component thread during HNFileAdapter.CloseFile function execution.

See also:HNFileAdapter, HNFileAdapter.CloseFile, HNFileAdapter.OnThreadBegin