Class tcustomsercommchannel

Unit

Declaration

type tcustomsercommchannel = class(tmsecomponent, icommclient)

Description

This item has no description.

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;

This item has no description.

Protected fexpected: integer;

This item has no description.

Protected fsent: integer;

This item has no description.

Protected fdata: string;

This item has no description.

Protected fflags: commresponseflagsty;

This item has no description.

Methods

Protected function internaltransmit(const adata: string; const aresponselength: integer; const atimeoutus: integer; const sync: boolean; const aeor: boolean): syserrorty;

This item has no description.

Protected procedure checksercomm;

This item has no description.

Protected procedure doresponse; virtual;

This item has no description.

Protected procedure setcommserverintf(const aintf: icommserver);

This item has no description.

Protected procedure dorxchange(const areader: tcommreader);

This item has no description.

Public constructor create(aowner: tcomponent); override;

This item has no description.

Public destructor destroy; override;

This item has no description.

Public procedure clear;

This item has no description.

Public function transmit(const adata: string; const aresponselength: integer; const atimeoutus: integer = -1): syserrorty; virtual; overload;

This item has no description.

Public function transmiteor(const adata: string; const aresponselength: integer = 0; const atimeoutus: integer = -1): syserrorty; virtual; overload;

This item has no description.

Public function transmit(const adata: string; const aresponselength: integer; out aresult: string; const atimeoutus: integer = -1): commresponseflagsty; virtual; overload;

This item has no description.

Public function transmiteor(const adata: string; out aresult: string; const aresponselength: integer = 0; const atimeoutus: integer = -1): commresponseflagsty; virtual; overload;

This item has no description.

Properties

Public property sercomm: tcustomcommcomp read fsercomm write setsercomm;

This item has no description.

Public property timeoutus: integer read ftimeoutus write ftimeoutus default 0;

This item has no description.

Public property onresponse: commresponseeventty read fonresponse write fonresponse;

This item has no description.

Public property eor: string read feor write feor;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.