Class tcustomsercommchannel

Unit

Declaration

type tcustomsercommchannel = class(tmsecomponent, icommclient)

Description

No description available, ancestor tmsecomponent description follows

Hierarchy

Overview

Fields

Protected fstate: sercommchannelstatesty;
Protected fexpected: integer;
Protected fsent: integer;
Protected fdata: string;
Protected fflags: commresponseflagsty;

Methods

Protected function internaltransmit(const adata: string; const aresponselength: integer; const atimeoutus: integer; const sync: boolean; const aeor: boolean): syserrorty;
Protected procedure checksercomm;
Protected procedure doresponse; virtual;
Protected procedure setcommserverintf(const aintf: icommserver);
Protected procedure dorxchange(const areader: tcommreader);
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure clear;
Public function transmit(const adata: string; const aresponselength: integer; const atimeoutus: integer = -1): syserrorty; virtual; overload;
Public function transmiteor(const adata: string; const aresponselength: integer = 0; const atimeoutus: integer = -1): syserrorty; virtual; overload;
Public function transmit(const adata: string; const aresponselength: integer; out aresult: string; const atimeoutus: integer = -1): commresponseflagsty; virtual; overload;
Public function transmiteor(const adata: string; out aresult: string; const aresponselength: integer = 0; const atimeoutus: integer = -1): commresponseflagsty; virtual; overload;

Properties

Public property sercomm: tcustomcommcomp read fsercomm write setsercomm;
Public property timeoutus: integer read ftimeoutus write ftimeoutus default 0;
Public property onresponse: commresponseeventty read fonresponse write fonresponse;
Public property eor: string read feor write feor;

Description

Fields

Protected fstate: sercommchannelstatesty;
 
Protected fexpected: integer;
 
Protected fsent: integer;
 
Protected fdata: string;
 
Protected fflags: commresponseflagsty;
 

Methods

Protected function internaltransmit(const adata: string; const aresponselength: integer; const atimeoutus: integer; const sync: boolean; const aeor: boolean): syserrorty;
 
Protected procedure checksercomm;
 
Protected procedure doresponse; virtual;
 
Protected procedure setcommserverintf(const aintf: icommserver);
 
Protected procedure dorxchange(const areader: tcommreader);
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public procedure clear;
 
Public function transmit(const adata: string; const aresponselength: integer; const atimeoutus: integer = -1): syserrorty; virtual; overload;
 
Public function transmiteor(const adata: string; const aresponselength: integer = 0; const atimeoutus: integer = -1): syserrorty; virtual; overload;
 
Public function transmit(const adata: string; const aresponselength: integer; out aresult: string; const atimeoutus: integer = -1): commresponseflagsty; virtual; overload;
 
Public function transmiteor(const adata: string; out aresult: string; const aresponselength: integer = 0; const atimeoutus: integer = -1): commresponseflagsty; virtual; overload;
 

Properties

Public property sercomm: tcustomcommcomp read fsercomm write setsercomm;
 
Public property timeoutus: integer read ftimeoutus write ftimeoutus default 0;
 
Public property onresponse: commresponseeventty read fonresponse write fonresponse;
 
Public property eor: string read feor write feor;
 

Generated by PasDoc 0.16.0.