Class tpipereader

Unit

Declaration

type tpipereader = class(tpipewriter)

Description

No description available, ancestor tpipewriter description follows
No description available, ancestor ttextstream description follows
No description available, ancestor tcustombufstream description follows
No description available, ancestor tmsefilestream description follows

Hierarchy

Overview

Fields

Protected fthread: tsemthread;
Protected fmsbuf: bufferty;
Protected fmsbufcount: integer;
Protected fowner: tmsecomponent;

Methods

Protected function execthread(thread: tmsethread): integer; virtual;
Protected procedure sethandle(value: integer); override;
Protected procedure setbuflen(const Value: integer); override;
Protected function doread(var buf; const acount: integer; out readcount: integer; const nonblocked: boolean = false): boolean; virtual;
Protected function readbytes(var buf): integer; override;
Protected procedure doinputavailable;
Protected procedure dochange; virtual;
Protected function readbuf: string;
Public constructor create;
Public destructor destroy; override;
Public function releasehandle: filehandlety override;
Public function Seek(const Offset: Int64; Origin: TSeekOrigin): Int64; override;
Public function readdatastring: string; override;
Public procedure appenddatastring(var adata: string; var acount: sizeint);
Public function readbuffer: string;
Public function readuln(var value: string): boolean;
Public function readuln(var value: string; out hasmoredata: boolean): boolean;
Public function readstrln(var value: string): boolean; override;
Public procedure clear; override;
Public procedure terminate(const noclosehandle: boolean = false);
Public procedure terminateandwait(const noclosehandle: boolean = false);
Public procedure waitfor;
Public function waitforresponse(timeoutusec: integer = 0; resetflag: boolean = true): boolean;
Public function active: boolean;

Properties

Public property responseflag: boolean read getresponseflag write setresponseflag;
Public property text: string read fpipebuffer;
Public property writehandle: integer read fwritehandle write setwritehandle;
Public property overloadsleepus: integer read foverloadsleepus write foverloadsleepus default -1;
Public property options: pipereaderoptionsty read foptions write foptions default [];
Public property oninputavailable: pipereadereventty read foninputavailable write foninputavailable;
Public property onpipebroken: pipereadereventty read fonpipebroken write fonpipebroken;
Public property owner: tmsecomponent read fowner;

Description

Fields

Protected fthread: tsemthread;
 
Protected fmsbuf: bufferty;
 
Protected fmsbufcount: integer;
 
Protected fowner: tmsecomponent;
 

Methods

Protected function execthread(thread: tmsethread): integer; virtual;
 
Protected procedure sethandle(value: integer); override;
 
Protected procedure setbuflen(const Value: integer); override;
 
Protected function doread(var buf; const acount: integer; out readcount: integer; const nonblocked: boolean = false): boolean; virtual;
 
Protected function readbytes(var buf): integer; override;
 
Protected procedure doinputavailable;
 
Protected procedure dochange; virtual;
 
Protected function readbuf: string;
 
Public constructor create;
 
Public destructor destroy; override;
 
Public function releasehandle: filehandlety override;
 
Public function Seek(const Offset: Int64; Origin: TSeekOrigin): Int64; override;
 
Public function readdatastring: string; override;
 
Public procedure appenddatastring(var adata: string; var acount: sizeint);
 
Public function readbuffer: string;
 
Public function readuln(var value: string): boolean;
 
Public function readuln(var value: string; out hasmoredata: boolean): boolean;
 
Public function readstrln(var value: string): boolean; override;
 
Public procedure clear; override;
 
Public procedure terminate(const noclosehandle: boolean = false);
 
Public procedure terminateandwait(const noclosehandle: boolean = false);
 
Public procedure waitfor;
 
Public function waitforresponse(timeoutusec: integer = 0; resetflag: boolean = true): boolean;
 
Public function active: boolean;
 

Properties

Public property responseflag: boolean read getresponseflag write setresponseflag;
 
Public property text: string read fpipebuffer;
 
Public property writehandle: integer read fwritehandle write setwritehandle;
 
Public property overloadsleepus: integer read foverloadsleepus write foverloadsleepus default -1;
 
Public property options: pipereaderoptionsty read foptions write foptions default [];
 
Public property oninputavailable: pipereadereventty read foninputavailable write foninputavailable;
 
Public property onpipebroken: pipereadereventty read fonpipebroken write fonpipebroken;
 
Public property owner: tmsecomponent read fowner;
 

Generated by PasDoc 0.16.0.