Class tcustomcommcomp

Unit

Declaration

type tcustomcommcomp = class(tactcomponent, icommserver)

Description

No description available, ancestor tactcomponent description follows
No description available, ancestor tmsecomponent description follows

Hierarchy

Overview

Fields

Protected fhandle: integer;
Protected factive: boolean;
Protected factiveafterload: boolean;
Protected fcryptoio: tcryptoio;

Methods

Protected procedure setactive(const avalue: boolean); override;
Protected procedure doactivated; override;
Protected procedure dodeactivated; override;
Protected procedure internalconnect; virtual; abstract;
Protected procedure internaldisconnect; virtual;
Protected procedure closepipes(const sender: tcustomcommpipes); virtual; abstract;
Protected procedure writedata(const adata: string);
Protected function trywritedata(const adata: string): syserrorty; virtual; abstract;
Protected procedure connect;
Protected procedure disconnect;
Protected procedure checkinactive;
Protected procedure doafterconnect(const sender: tcustomcommpipes);
Protected procedure loaded; override;
Protected function gethalfduplex: boolean; virtual;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public function calctransmissiontime(const alength: integer): integer; virtual;

Properties

Public property active: boolean read factive write setactive default false;
Public property cryptoio: tcryptoio read fcryptoio write setcryptoio;
Public property onbeforeconnect: commcompeventty read fonbeforeconnect write fonbeforeconnect;
Public property onafterconnect: commcompeventty read fonafterconnect write fonafterconnect;
Public property onbeforedisconnect: commcompeventty read fonbeforedisconnect write fonbeforedisconnect;
Public property onafterdisconnect: commcompeventty read fonafterdisconnect write fonafterdisconnect;

Description

Fields

Protected fhandle: integer;
 
Protected factive: boolean;
 
Protected factiveafterload: boolean;
 
Protected fcryptoio: tcryptoio;
 

Methods

Protected procedure setactive(const avalue: boolean); override;
 
Protected procedure doactivated; override;
 
Protected procedure dodeactivated; override;
 
Protected procedure internalconnect; virtual; abstract;
 
Protected procedure internaldisconnect; virtual;
 
Protected procedure closepipes(const sender: tcustomcommpipes); virtual; abstract;
 
Protected procedure writedata(const adata: string);
 
Protected function trywritedata(const adata: string): syserrorty; virtual; abstract;
 
Protected procedure connect;
 
Protected procedure disconnect;
 
Protected procedure checkinactive;
 
Protected procedure doafterconnect(const sender: tcustomcommpipes);
 
Protected procedure loaded; override;
 
Protected function gethalfduplex: boolean; virtual;
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public function calctransmissiontime(const alength: integer): integer; virtual;
 

Properties

Public property active: boolean read factive write setactive default false;
 
Public property cryptoio: tcryptoio read fcryptoio write setcryptoio;
 
Public property onbeforeconnect: commcompeventty read fonbeforeconnect write fonbeforeconnect;
 
Public property onafterconnect: commcompeventty read fonafterconnect write fonafterconnect;
 
Public property onbeforedisconnect: commcompeventty read fonbeforedisconnect write fonbeforedisconnect;
 
Public property onafterdisconnect: commcompeventty read fonafterdisconnect write fonafterdisconnect;
 

Generated by PasDoc 0.16.0.