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
- TObject
- TStream
- thandlestream
- tmsefilestream
- tcustombufstream
- ttextstream
- tpipewriter
- tpipereader
Overview
Fields
fthread: tsemthread; |
|
fmsbuf: bufferty; |
|
fmsbufcount: integer; |
|
fowner: tmsecomponent; |
Methods
function execthread(thread: tmsethread): integer; virtual; |
|
procedure sethandle(value: integer); override; |
|
procedure setbuflen(const Value: integer); override; |
|
function doread(var buf; const acount: integer; out readcount: integer; const nonblocked: boolean = false): boolean; virtual; |
|
function readbytes(var buf): integer; override; |
|
procedure doinputavailable; |
|
procedure dochange; virtual; |
|
function readbuf: string; |
|
constructor create; |
|
destructor destroy; override; |
|
function releasehandle: filehandlety override; |
|
function Seek(const Offset: Int64; Origin: TSeekOrigin): Int64; override; |
|
function readdatastring: string; override; |
|
procedure appenddatastring(var adata: string; var acount: sizeint); |
|
function readbuffer: string; |
|
function readuln(var value: string): boolean; |
|
function readuln(var value: string; out hasmoredata: boolean): boolean; |
|
function readstrln(var value: string): boolean; override; |
|
procedure clear; override; |
|
procedure terminate(const noclosehandle: boolean = false); |
|
procedure terminateandwait(const noclosehandle: boolean = false); |
|
procedure waitfor; |
|
function waitforresponse(timeoutusec: integer = 0; resetflag: boolean = true): boolean; |
|
function active: boolean; |
Properties
property responseflag: boolean read getresponseflag write setresponseflag; |
|
property text: string read fpipebuffer; |
|
property writehandle: integer read fwritehandle write setwritehandle; |
|
property overloadsleepus: integer read foverloadsleepus
write foverloadsleepus default -1; |
|
property options: pipereaderoptionsty read foptions
write foptions default []; |
|
property oninputavailable: pipereadereventty read foninputavailable
write foninputavailable; |
|
property onpipebroken: pipereadereventty read fonpipebroken
write fonpipebroken; |
|
property owner: tmsecomponent read fowner; |
Description
Fields
fthread: tsemthread; |
|
fmsbuf: bufferty; |
|
fmsbufcount: integer; |
|
fowner: tmsecomponent; |
|
Methods
function execthread(thread: tmsethread): integer; virtual; |
|
procedure sethandle(value: integer); override; |
|
procedure setbuflen(const Value: integer); override; |
|
function doread(var buf; const acount: integer; out readcount: integer; const nonblocked: boolean = false): boolean; virtual; |
|
function readbytes(var buf): integer; override; |
|
procedure doinputavailable; |
|
procedure dochange; virtual; |
|
function readbuf: string; |
|
constructor create; |
|
destructor destroy; override; |
|
function releasehandle: filehandlety override; |
|
function Seek(const Offset: Int64; Origin: TSeekOrigin): Int64; override; |
|
function readdatastring: string; override; |
|
procedure appenddatastring(var adata: string; var acount: sizeint); |
|
function readbuffer: string; |
|
function readuln(var value: string): boolean; |
|
function readuln(var value: string; out hasmoredata: boolean): boolean; |
|
function readstrln(var value: string): boolean; override; |
|
procedure clear; override; |
|
procedure terminate(const noclosehandle: boolean = false); |
|
procedure terminateandwait(const noclosehandle: boolean = false); |
|
procedure waitfor; |
|
function waitforresponse(timeoutusec: integer = 0; resetflag: boolean = true): boolean; |
|
function active: boolean; |
|
Properties
property responseflag: boolean read getresponseflag write setresponseflag; |
|
property text: string read fpipebuffer; |
|
property writehandle: integer read fwritehandle write setwritehandle; |
|
property overloadsleepus: integer read foverloadsleepus
write foverloadsleepus default -1; |
|
property options: pipereaderoptionsty read foptions
write foptions default []; |
|
property oninputavailable: pipereadereventty read foninputavailable
write foninputavailable; |
|
property onpipebroken: pipereadereventty read fonpipebroken
write fonpipebroken; |
|
property owner: tmsecomponent read fowner; |
|
Generated by PasDoc 0.16.0.