Packet Sniffer SDK VCL Edition

HNFileAdapter :: Events :: OnThreadBegin

 Previous Next

Tracks the creating of the internal component thread.

Syntax:

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

Parameters:

ThParam

[out] User defined thread parameter, is available only in the calling thread context (see HNFileAdapter.OnPacketReceive).

Description:

Set this event handler to execute necessary functions at the moment of the creation of the internal component thread. This event handler is called in the context of the internal component thread immediately after successful HNFileAdapter.CreateFile(HNFileAdapter.OpenFile) functions execution.

See also:HNFileAdapter, HNFileAdapter.CreateFile, HNFileAdapter.OpenFile, HNFileAdapter.OnPacketReceive, HNFileAdapter.OnThreadEnd