pascalSCADA OPM: CommPort: Class TEventNotificationThread

Pascal SCADA OPM

Class TEventNotificationThread

Unit

CommPort

Declaration

type TEventNotificationThread = class(TCrossThread)

Description

: TEventNotificationThread notifies the application and protocol drivers when the following events occurs on port driver: communication error and when it was open, closed or disconnected. This class is used internaly by the TCommPortDriver.

Hierarchy

Overview

Methods

Protected procedure Execute; override;
Public constructor Create(CreateSuspended: Boolean; AOwner:TComponent);
Public destructor Destroy; override;
Public procedure WaitInit;
Public procedure Terminate;
Public procedure DoCommErrorEvent(Event:TCommPortErrorEvent; Error:TIOResult; MainThread:Boolean);
Public procedure DoCommPortEvent(Event:TNotifyEvent; MainThread:Boolean);

Description

Methods

Protected procedure Execute; override;
 
Public constructor Create(CreateSuspended: Boolean; AOwner:TComponent);
 
Public destructor Destroy; override;
 
Public procedure WaitInit;
 
Public procedure Terminate;
 
Public procedure DoCommErrorEvent(Event:TCommPortErrorEvent; Error:TIOResult; MainThread:Boolean);

: Sends a communication error message to application;

Public procedure DoCommPortEvent(Event:TNotifyEvent; MainThread:Boolean);

: Sends a port event message (port open, closed or diconnected) to application;

Author


Generated by PasDoc 0.14.0.