Class tcommthread

Unit

Declaration

type tcommthread = class(teventthread)

Description

No description available, ancestor teventthread description follows
No description available, ancestor tsemthread description follows
No description available, ancestor tmutexthread description follows
No description available, ancestor tmsethread description follows

Hierarchy

Overview

Fields

Protected fowner: tmsecomponent;
Protected fport: trs232;
Protected fabort: boolean;
Protected fsendretries: integer;

Methods

Protected function checkabort(const sender: tobject): boolean; virtual;
Protected function execute(thread: tmsethread): integer; override;
Public constructor create(const aowner: tmsecomponent);
Public destructor destroy; override;
Public function writestring(const dat: string; timeout: integer = 0): boolean;
Public function readstring(anzahl: integer; out dat: string; timeout: integer = 0): boolean;
Public procedure abort;
Public procedure postevent(event: tcommevent);
Public procedure reset; virtual;

Properties

Public property port: trs232 read fport;
Public property sendretries: integer read fsendretries write fsendretries default 0;

Description

Fields

Protected fowner: tmsecomponent;
 
Protected fport: trs232;
 
Protected fabort: boolean;
 
Protected fsendretries: integer;
 

Methods

Protected function checkabort(const sender: tobject): boolean; virtual;
 
Protected function execute(thread: tmsethread): integer; override;
 
Public constructor create(const aowner: tmsecomponent);
 
Public destructor destroy; override;
 
Public function writestring(const dat: string; timeout: integer = 0): boolean;
 
Public function readstring(anzahl: integer; out dat: string; timeout: integer = 0): boolean;
 
Public procedure abort;
 
Public procedure postevent(event: tcommevent);
 
Public procedure reset; virtual;
 

Properties

Public property port: trs232 read fport;
 
Public property sendretries: integer read fsendretries write fsendretries default 0;
 

Generated by PasDoc 0.16.0.