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
Description
Methods
|
procedure Execute; override; |
|
|
constructor Create(CreateSuspended: Boolean; AOwner:TComponent); |
|
|
destructor Destroy; override; |
|
|
procedure WaitInit; |
|
|
procedure Terminate; |
|
|
procedure DoCommErrorEvent(Event:TCommPortErrorEvent; Error:TIOResult; MainThread:Boolean); |
: Sends a communication error message to application;
|
|
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.