Internet Direct (Indy)
Home
PreviousUpNext
TIdTelnet.ThreadedEvent Property

Indicates if data handling is performed using methods in the TelnetThread.

Pascal
property ThreadedEvent: Boolean;

ThreadedEvent is a Boolean property that indicates if data handling and protocol suboption negotiations are executed in the context of the TelnetThread or synchronized to the main VCL thread for the application. Data handling and protocol negotiations are performed using the OnDataAvailable and the OnTelnetCommand event handlers. 

When ThreadedEvent contains True, event handlers notifications are executed in the context of the TelnetThread

When ThreadedEvent contains False, event handler notifications are synchronized to the main VCL thread. Set ThreadedEvent to False when the event handlers are not thread-safe or require access to classes and routines available only in the main VCL thread. 

The default value for ThreadedEvent is False.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.