Internet Direct (Indy) Version 9.0.1 Beta
TSlaveThread.Create
Constructor for the object instance.

constructor Create(Slave: TIdTunnelSlave);
Parameters
Slave: TIdTunnelSlave
The TIdTunnelSlave serviced by the thread.

Description
Create is the reintroduced constructor for the object instance. Create initializes object properties that depend on the Slave parameter, including:

SlaveParent contains a reference to the Slave parameter. Connection is the internal TIdTCPClient for Slave. OnTerminate is assigned the event handler for the OnTunnelThreadTerminate event of Slave.

In addition, other thread properties are initialized to their default values, including:

Create relies in the inherited Create constructor to initialize the thread in a suspended state.