Class TNoDaveConnectThread

TObject <-- ... <-- TThread <-- TNoDaveConnectThread
Declared in Unit NoDaveComponent

No known Subclasses

Not used by any known Class


Description:

Worker-thread for asynchronous connecting with the PLC.
Used in
TNoDave.Connect

List of Constructors:

public constructor Create
Create the worker-thread for asynchronous connecting with the PLC.

List of Methods:

protected procedure DoOnConnect
Synchronization-method for calling the OnConnect-Event of the TNoDave-instance.
protected procedure DoOnError
Synchronization-method for calling the OnError-Event of the TNoDave-instance.
protected procedure Execute
Open the connection to the PLC.

Constructors:

public constructor Create(Target: TNoDave)
Create the worker-thread for asynchronous connecting with the PLC.
Parameters
Target
The TNoDave-instance to connect with the PLC.
Called by
TNoDave.Connect


Methods:

protected procedure DoOnConnect
Synchronization-method for calling the OnConnect-Event of the TNoDave-instance.
Called by
Execute

protected procedure DoOnError
Synchronization-method for calling the OnError-Event of the TNoDave-instance.
Called by
Execute

protected procedure Execute; override
Open the connection to the PLC. If successfull then call the OnConnect-Event else call the OnError-Event of the TNoDave-instance.
Overrides
Execute