Class tfbservice
Unit
Declaration
type tfbservice = class(tmsecomponent)
Description
No description available, ancestor tmsecomponent description follows
Hierarchy
- TObject
- TPersistent
- tcomponent
- tmsecomponent
- tfbservice
Overview
Methods
function connectionmessage(atext: pchar): msestring; |
|
procedure loaded(); override; |
|
procedure doasyncevent(var atag: int32); override; |
|
procedure connect(); |
|
procedure closeconn(); |
|
procedure disconnect(); |
|
procedure readstate(reader: treader); override; |
|
procedure raiseerror(const e: exception; const dberr: boolean); |
|
procedure dberror(const msg: string; const comp: tcomponent; const dberr: boolean); |
|
procedure checkerror(const procname : string; const status : statusvectorty); |
|
procedure checkerror(const procname : string; const status: integer); |
|
procedure checkbusy(); |
|
procedure invalidresponse(const procname: string); |
|
procedure start(const procname: string; const params: string); |
|
function getinfo(const procname: string; const items: array of byte; const async: boolean): string; |
|
procedure runcommand(const procname: string; const params: string); |
|
function getmsestringitem(var buffer: pointer; out res: msestring; const cutspace: boolean = false): boolean; |
|
function getmsestringitem(var buffer: pointer; const id: int32; var value: msestring): boolean; |
|
procedure addmseparam(var params: string; const id: int32; const value: msestring); |
|
function internalusers(const ausername: string): fbuserinfoarty; |
|
procedure gettext(const procname: string; const params: string; var res: msestringarty; const maxrowcount: integer); |
|
procedure startmonitor(const procname: string; const aparams: string); |
|
function serviceisrunning: boolean; |
|
procedure tagaction(const aprocname: string; const aaction: int32; var res: msestringarty; const maxrowcount: int32); |
|
procedure tagaction(const aprocname: string; const aaction: int32); |
|
procedure traceaction(const aprocname: string; const aaction: int32; const aid: card32; var res: msestringarty; const maxrowcount: int32); |
|
procedure adduserparams(var params1: string; const ainfo: fbuserinfoty; const aitems: fbuseritemsty); |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy(); override; |
|
function todbstring(const avalue: msestring): string; |
|
function tomsestring(const avalue: string): msestring; |
|
procedure cancel(); |
|
function busy(): boolean; |
|
function serverinfo(): fbserverinfoty; |
|
function users(): fbuserinfoarty; |
|
function user(const ausername: msestring; var ainfo: fbuserinfoty): boolean; |
|
procedure adduser(const ainfo: fbuserinfoty; const items: fbuseritemsty); |
|
procedure modifyuser(const ainfo: fbuserinfoty; const items: fbuseritemsty); |
|
procedure deleteuser(const ausername: msestring; const arolename: msestring = ''); |
|
procedure getlog(var res: msestringarty; const maxrowcount: int32 = -1); |
|
procedure tracestart(const cfg: msestring; const _name: msestring = ''); |
|
procedure tracelist(var res: msestringarty; const maxrowcount: int32 = -1); |
|
procedure tracestop(const aid: card32; var res: msestringarty; const maxrowcount: int32 = -1); |
|
procedure tracesuspend(const aid: card32; var res: msestringarty; const maxrowcount: int32 = -1); |
|
procedure traceresume(const aid: card32; var res: msestringarty; const maxrowcount: int32 = -1); |
|
procedure setmapping(); |
|
procedure dropmapping(); |
|
procedure dbstats(const adbname: msestring; const aoptions: dbstatoptionsty; const acommandline: msestring; var res: msestringarty; const maxrowcount: int32 = -1); |
|
procedure properties(const adbname: msestring; const ainfo: fbpropertyinfoty; const aitems: fbpropertyitemsty; var res: msestringarty; const maxrowcount: integer= -1); |
|
procedure validatestart(const dbname: msestring; const tabincl: msestring = ''; const tabexcl: msestring = ''; const idxincl: msestring = ''; const idxexcl: msestring = ''; const locktimeout: card32 = 0); |
|
procedure backupstart(const dbname: msestring; const backupfiles: array of msestring; const lengths: array of card32; const verbose: boolean = false; const stat: string = ''; const aoptions: backupoptionsty = []; const factor: card32 = 0); |
|
procedure restorestart(const backupfiles: array of msestring; const dbfiles: array of msestring; const lengths: array of card32; const verbose: boolean = false; const stat: string = ''; const aoptions: restoreoptionsty = []; const accessmode: accessmodety = amo_readwrite; const buffers: card32 = 0; const pagesize: card32 = 0; const fixfssdata: string = ''; const fixfssmetadata: string = ''); |
|
procedure nbakstart(const dbname: msestring; const _file: msestring; const level: card32; const options: nbakoptionsty; const direct: string = ''); |
|
procedure nreststart(const dbname: msestring; const files: array of msestring; const options: nbakoptionsty); |
|
procedure repairstart(const adbname: msestring; const aoptions: repairoptionsty); |
Properties
property lasterror: statusvectorty read flasterror; |
|
property lasterrormessage: msestring read flasterrormessage; |
|
property asynctext: msestringarty read fasynctext write fasynctext; |
|
property asyncmaxrowcount: int32 read fasyncmaxrowcount
write fasyncmaxrowcount default 0; |
|
property hostname : ansistring read fhostname write fhostname; |
|
property username : ansistring read fusername write fusername; |
|
property password : ansistring read fpassword write fpassword; |
|
property connected: boolean read getconnected
write setconnected default false; |
|
property options: fbserviceoptionsty read foptions write foptions default []; |
|
property infotimeout: int32 read finfotimeout write finfotimeout
default defaultinfotimeout; |
|
property onasynctext: fbservicetexteventty read fonasynctext
write fonasynctext; |
|
property onasyncend: fbserviceendeventty read fonasyncend
write fonasyncend; |
|
property onasyncendmain: fbserviceendeventty read fonasyncendmain
write fonasyncendmain; |
|
property onerror: fbserviceerroreventty read fonerror write fonerror; |
Description
Methods
function connectionmessage(atext: pchar): msestring; |
|
procedure loaded(); override; |
|
procedure doasyncevent(var atag: int32); override; |
|
procedure connect(); |
|
procedure closeconn(); |
|
procedure disconnect(); |
|
procedure readstate(reader: treader); override; |
|
procedure raiseerror(const e: exception; const dberr: boolean); |
|
procedure dberror(const msg: string; const comp: tcomponent; const dberr: boolean); |
|
procedure checkerror(const procname : string; const status : statusvectorty); |
|
procedure checkerror(const procname : string; const status: integer); |
|
procedure checkbusy(); |
|
procedure invalidresponse(const procname: string); |
|
procedure start(const procname: string; const params: string); |
|
function getinfo(const procname: string; const items: array of byte; const async: boolean): string; |
|
procedure runcommand(const procname: string; const params: string); |
|
function getmsestringitem(var buffer: pointer; out res: msestring; const cutspace: boolean = false): boolean; |
|
function getmsestringitem(var buffer: pointer; const id: int32; var value: msestring): boolean; |
|
procedure addmseparam(var params: string; const id: int32; const value: msestring); |
|
function internalusers(const ausername: string): fbuserinfoarty; |
|
procedure gettext(const procname: string; const params: string; var res: msestringarty; const maxrowcount: integer); |
|
procedure startmonitor(const procname: string; const aparams: string); |
|
function serviceisrunning: boolean; |
|
procedure tagaction(const aprocname: string; const aaction: int32; var res: msestringarty; const maxrowcount: int32); |
|
procedure tagaction(const aprocname: string; const aaction: int32); |
|
procedure traceaction(const aprocname: string; const aaction: int32; const aid: card32; var res: msestringarty; const maxrowcount: int32); |
|
procedure adduserparams(var params1: string; const ainfo: fbuserinfoty; const aitems: fbuseritemsty); |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy(); override; |
|
function todbstring(const avalue: msestring): string; |
|
function tomsestring(const avalue: string): msestring; |
|
procedure cancel(); |
|
function busy(): boolean; |
|
function serverinfo(): fbserverinfoty; |
|
function users(): fbuserinfoarty; |
|
function user(const ausername: msestring; var ainfo: fbuserinfoty): boolean; |
|
procedure adduser(const ainfo: fbuserinfoty; const items: fbuseritemsty); |
|
procedure modifyuser(const ainfo: fbuserinfoty; const items: fbuseritemsty); |
|
procedure deleteuser(const ausername: msestring; const arolename: msestring = ''); |
|
procedure getlog(var res: msestringarty; const maxrowcount: int32 = -1); |
|
procedure tracestart(const cfg: msestring; const _name: msestring = ''); |
|
procedure tracelist(var res: msestringarty; const maxrowcount: int32 = -1); |
|
procedure tracestop(const aid: card32; var res: msestringarty; const maxrowcount: int32 = -1); |
|
procedure tracesuspend(const aid: card32; var res: msestringarty; const maxrowcount: int32 = -1); |
|
procedure traceresume(const aid: card32; var res: msestringarty; const maxrowcount: int32 = -1); |
|
procedure setmapping(); |
|
procedure dropmapping(); |
|
procedure dbstats(const adbname: msestring; const aoptions: dbstatoptionsty; const acommandline: msestring; var res: msestringarty; const maxrowcount: int32 = -1); |
|
procedure properties(const adbname: msestring; const ainfo: fbpropertyinfoty; const aitems: fbpropertyitemsty; var res: msestringarty; const maxrowcount: integer= -1); |
|
procedure validatestart(const dbname: msestring; const tabincl: msestring = ''; const tabexcl: msestring = ''; const idxincl: msestring = ''; const idxexcl: msestring = ''; const locktimeout: card32 = 0); |
|
procedure backupstart(const dbname: msestring; const backupfiles: array of msestring; const lengths: array of card32; const verbose: boolean = false; const stat: string = ''; const aoptions: backupoptionsty = []; const factor: card32 = 0); |
|
procedure restorestart(const backupfiles: array of msestring; const dbfiles: array of msestring; const lengths: array of card32; const verbose: boolean = false; const stat: string = ''; const aoptions: restoreoptionsty = []; const accessmode: accessmodety = amo_readwrite; const buffers: card32 = 0; const pagesize: card32 = 0; const fixfssdata: string = ''; const fixfssmetadata: string = ''); |
|
procedure nbakstart(const dbname: msestring; const _file: msestring; const level: card32; const options: nbakoptionsty; const direct: string = ''); |
|
procedure nreststart(const dbname: msestring; const files: array of msestring; const options: nbakoptionsty); |
|
procedure repairstart(const adbname: msestring; const aoptions: repairoptionsty); |
|
Properties
property lasterror: statusvectorty read flasterror; |
|
property lasterrormessage: msestring read flasterrormessage; |
|
property asynctext: msestringarty read fasynctext write fasynctext; |
|
property asyncmaxrowcount: int32 read fasyncmaxrowcount
write fasyncmaxrowcount default 0; |
|
property hostname : ansistring read fhostname write fhostname; |
|
property username : ansistring read fusername write fusername; |
|
property password : ansistring read fpassword write fpassword; |
|
property connected: boolean read getconnected
write setconnected default false; |
|
property options: fbserviceoptionsty read foptions write foptions default []; |
|
property infotimeout: int32 read finfotimeout write finfotimeout
default defaultinfotimeout; |
|
property onasynctext: fbservicetexteventty read fonasynctext
write fonasynctext; |
|
property onasyncend: fbserviceendeventty read fonasyncend
write fonasyncend; |
|
property onasyncendmain: fbserviceendeventty read fonasyncendmain
write fonasyncendmain; |
|
property onerror: fbserviceerroreventty read fonerror write fonerror; |
|
Generated by PasDoc 0.16.0.