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