Class TNoDaveConnectThread - TNoDave - JADD - Just Another DelphiDoc
Keywords: TNoDaveConnectThread

Index | Files | Records | Objects | Classes | Interfaces | Dispatch-Interfaces

# 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:

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

## List of Methods:

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

## Constructors:

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:

procedure DoOnConnect
  Synchronization-method for calling the OnConnect-Event of the TNoDave-instance.
  Called by
    Execute
procedure DoOnError
  Synchronization-method for calling the OnError-Event of the TNoDave-instance.
  Called by
    Execute
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