Internet Direct (Indy) Version 9.0.2 Beta
TIdCommand.Thread
Represents the thread of execution for the peer connection in the command.

property Thread: TIdPeerThread;
Description
Thread is a read-only TIdPeerThread property that represents the thread of execution for the peer connection generating the TIdCommand. Thread provides a mechanism for sending the command reply and response to the peer connection. Thread also allows access to properties and methods of the server in the thread of execution using the Server property.

Thread is assigned when the TIdCommand instance is created by the command handler for the executing thread.