Class tfb3service

Unit

Declaration

type tfb3service = class(tmsecomponent)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected fapi: fbapity;

Methods

Protected function connectionmessage(atext: pchar): msestring;
Protected procedure loaded(); override;
Protected procedure doasyncevent(var atag: int32); override;
Protected procedure clearstatus(); inline;
Protected function statusok(): boolean; inline;
Protected procedure checkstatus(const aerrormessage: msestring);
Protected procedure connect();
Protected procedure closeconn();
Protected procedure disconnect();
Protected procedure readstate(reader: treader); override;
Protected procedure raiseerror(const e: exception; const dberr: boolean);
Protected procedure dberror(const msg: msestring; const comp: tcomponent; const dberr: boolean);
Protected procedure checkbusy();
Protected procedure invalidresponse(const procname: msestring);
Protected procedure start(const procname: msestring; const params: string);
Protected function getinfo(const procname: msestring; const items: array of byte; const async: boolean): string;
Protected procedure runcommand(const procname: msestring; const params: string);
Protected function getmsestringitem(var buffer: pointer; out res: msestring; const cutspace: boolean = false): boolean;
Protected function getmsestringitem(var buffer: pointer; const id: int32; var value: msestring): boolean;
Protected procedure addmseparam(var params: string; const id: int32; const value: msestring);
Protected function internalusers(const ausername: string): fbuserinfoarty;
Protected procedure gettext(const procname: msestring; const params: string; var res: msestringarty; const maxrowcount: integer);
Protected procedure startmonitor(const procname: msestring; const aparams: string);
Protected function serviceisrunning: boolean;
Protected procedure tagaction(const aprocname: msestring; const aaction: int32; var res: msestringarty; const maxrowcount: int32);
Protected procedure tagaction(const aprocname: msestring; const aaction: int32);
Protected procedure traceaction(const aprocname: msestring; const aaction: int32; const aid: card32; var res: msestringarty; const maxrowcount: int32);
Protected procedure adduserparams(var params1: string; const ainfo: fbuserinfoty; const aitems: fbuseritemsty);
Public constructor create(aowner: tcomponent); override;
Public destructor destroy(); override;
Public function todbstring(const avalue: msestring): string;
Public function tomsestring(const avalue: string): msestring;
Public procedure cancel();
Public function busy(): boolean;
Public function serverinfo(): fbserverinfoty;
Public function users(): fbuserinfoarty;
Public function user(const ausername: msestring; var ainfo: fbuserinfoty): boolean;
Public procedure adduser(const ainfo: fbuserinfoty; const items: fbuseritemsty);
Public procedure modifyuser(const ainfo: fbuserinfoty; const items: fbuseritemsty);
Public procedure deleteuser(const ausername: msestring; const arolename: msestring = '');
Public procedure getlog(var res: msestringarty; const maxrowcount: int32 = -1);
Public procedure tracestart(const cfg: msestring; const _name: msestring = '');
Public procedure tracelist(var res: msestringarty; const maxrowcount: int32 = -1);
Public procedure tracestop(const aid: card32; var res: msestringarty; const maxrowcount: int32 = -1);
Public procedure tracesuspend(const aid: card32; var res: msestringarty; const maxrowcount: int32 = -1);
Public procedure traceresume(const aid: card32; var res: msestringarty; const maxrowcount: int32 = -1);
Public procedure setmapping();
Public procedure dropmapping();
Public procedure dbstats(const adbname: msestring; const aoptions: dbstatoptionsty; const acommandline: msestring; var res: msestringarty; const maxrowcount: int32 = -1);
Public procedure properties(const adbname: msestring; const ainfo: fbpropertyinfoty; const aitems: fbpropertyitemsty; var res: msestringarty; const maxrowcount: integer= -1);
Public procedure validatestart(const dbname: msestring; const tabincl: msestring = ''; const tabexcl: msestring = ''; const idxincl: msestring = ''; const idxexcl: msestring = ''; const locktimeout: card32 = 0);
Public 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);
Public 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 = '');
Public procedure nbakstart(const dbname: msestring; const _file: msestring; const level: card32; const options: nbakoptionsty; const direct: string = '');
Public procedure nreststart(const dbname: msestring; const files: array of msestring; const options: nbakoptionsty);
Public procedure repairstart(const adbname: msestring; const aoptions: repairoptionsty);

Properties

Public property lasterrormessage: msestring read flasterrormessage;
Public property asynctext: msestringarty read fasynctext write fasynctext;
Published property asyncmaxrowcount: int32 read fasyncmaxrowcount write fasyncmaxrowcount default 0;
Published property hostname : ansistring read fhostname write fhostname;
Published property username : ansistring read fusername write fusername;
Published property password : ansistring read fpassword write fpassword;
Published property connected: boolean read getconnected write setconnected default false;
Published property options: fbserviceoptionsty read foptions write foptions default [];
Published property infotimeout: int32 read finfotimeout write finfotimeout default defaultinfotimeout;
Published property onasynctext: fbservicetexteventty read fonasynctext write fonasynctext;
Published property onasyncend: fbserviceendeventty read fonasyncend write fonasyncend;
Published property onasyncendmain: fbserviceendeventty read fonasyncendmain write fonasyncendmain;
Published property onerror: fbserviceerroreventty read fonerror write fonerror;

Description

Fields

Protected fapi: fbapity;

This item has no description.

Methods

Protected function connectionmessage(atext: pchar): msestring;

This item has no description.

Protected procedure loaded(); override;

This item has no description.

Protected procedure doasyncevent(var atag: int32); override;

This item has no description.

Protected procedure clearstatus(); inline;

This item has no description.

Protected function statusok(): boolean; inline;

This item has no description.

Protected procedure checkstatus(const aerrormessage: msestring);

This item has no description.

Protected procedure connect();

This item has no description.

Protected procedure closeconn();

This item has no description.

Protected procedure disconnect();

This item has no description.

Protected procedure readstate(reader: treader); override;

This item has no description.

Protected procedure raiseerror(const e: exception; const dberr: boolean);

This item has no description.

Protected procedure dberror(const msg: msestring; const comp: tcomponent; const dberr: boolean);

This item has no description.

Protected procedure checkbusy();

This item has no description.

Protected procedure invalidresponse(const procname: msestring);

This item has no description.

Protected procedure start(const procname: msestring; const params: string);

This item has no description.

Protected function getinfo(const procname: msestring; const items: array of byte; const async: boolean): string;

This item has no description.

Protected procedure runcommand(const procname: msestring; const params: string);

This item has no description.

Protected function getmsestringitem(var buffer: pointer; out res: msestring; const cutspace: boolean = false): boolean;

This item has no description.

Protected function getmsestringitem(var buffer: pointer; const id: int32; var value: msestring): boolean;

This item has no description.

Protected procedure addmseparam(var params: string; const id: int32; const value: msestring);

This item has no description.

Protected function internalusers(const ausername: string): fbuserinfoarty;

This item has no description.

Protected procedure gettext(const procname: msestring; const params: string; var res: msestringarty; const maxrowcount: integer);

This item has no description.

Protected procedure startmonitor(const procname: msestring; const aparams: string);

This item has no description.

Protected function serviceisrunning: boolean;

This item has no description.

Protected procedure tagaction(const aprocname: msestring; const aaction: int32; var res: msestringarty; const maxrowcount: int32);

This item has no description.

Protected procedure tagaction(const aprocname: msestring; const aaction: int32);

This item has no description.

Protected procedure traceaction(const aprocname: msestring; const aaction: int32; const aid: card32; var res: msestringarty; const maxrowcount: int32);

This item has no description.

Protected procedure adduserparams(var params1: string; const ainfo: fbuserinfoty; const aitems: fbuseritemsty);

This item has no description.

Public constructor create(aowner: tcomponent); override;

This item has no description.

Public destructor destroy(); override;

This item has no description.

Public function todbstring(const avalue: msestring): string;

This item has no description.

Public function tomsestring(const avalue: string): msestring;

This item has no description.

Public procedure cancel();

This item has no description.

Public function busy(): boolean;

This item has no description.

Public function serverinfo(): fbserverinfoty;

This item has no description.

Public function users(): fbuserinfoarty;

This item has no description.

Public function user(const ausername: msestring; var ainfo: fbuserinfoty): boolean;

This item has no description.

Public procedure adduser(const ainfo: fbuserinfoty; const items: fbuseritemsty);

This item has no description.

Public procedure modifyuser(const ainfo: fbuserinfoty; const items: fbuseritemsty);

This item has no description.

Public procedure deleteuser(const ausername: msestring; const arolename: msestring = '');

This item has no description.

Public procedure getlog(var res: msestringarty; const maxrowcount: int32 = -1);

This item has no description.

Public procedure tracestart(const cfg: msestring; const _name: msestring = '');

This item has no description.

Public procedure tracelist(var res: msestringarty; const maxrowcount: int32 = -1);

This item has no description.

Public procedure tracestop(const aid: card32; var res: msestringarty; const maxrowcount: int32 = -1);

This item has no description.

Public procedure tracesuspend(const aid: card32; var res: msestringarty; const maxrowcount: int32 = -1);

This item has no description.

Public procedure traceresume(const aid: card32; var res: msestringarty; const maxrowcount: int32 = -1);

This item has no description.

Public procedure setmapping();

This item has no description.

Public procedure dropmapping();

This item has no description.

Public procedure dbstats(const adbname: msestring; const aoptions: dbstatoptionsty; const acommandline: msestring; var res: msestringarty; const maxrowcount: int32 = -1);

This item has no description.

Public procedure properties(const adbname: msestring; const ainfo: fbpropertyinfoty; const aitems: fbpropertyitemsty; var res: msestringarty; const maxrowcount: integer= -1);

This item has no description.

Public procedure validatestart(const dbname: msestring; const tabincl: msestring = ''; const tabexcl: msestring = ''; const idxincl: msestring = ''; const idxexcl: msestring = ''; const locktimeout: card32 = 0);

This item has no description.

Public 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);

This item has no description.

Public 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 = '');

This item has no description.

Public procedure nbakstart(const dbname: msestring; const _file: msestring; const level: card32; const options: nbakoptionsty; const direct: string = '');

This item has no description.

Public procedure nreststart(const dbname: msestring; const files: array of msestring; const options: nbakoptionsty);

This item has no description.

Public procedure repairstart(const adbname: msestring; const aoptions: repairoptionsty);

This item has no description.

Properties

Public property lasterrormessage: msestring read flasterrormessage;

This item has no description.

Public property asynctext: msestringarty read fasynctext write fasynctext;

This item has no description.

Published property asyncmaxrowcount: int32 read fasyncmaxrowcount write fasyncmaxrowcount default 0;

This item has no description.

Published property hostname : ansistring read fhostname write fhostname;

This item has no description.

Published property username : ansistring read fusername write fusername;

This item has no description.

Published property password : ansistring read fpassword write fpassword;

This item has no description.

Published property connected: boolean read getconnected write setconnected default false;

This item has no description.

Published property options: fbserviceoptionsty read foptions write foptions default [];

This item has no description.

Published property infotimeout: int32 read finfotimeout write finfotimeout default defaultinfotimeout;

This item has no description.

Published property onasynctext: fbservicetexteventty read fonasynctext write fonasynctext;

This item has no description.

Published property onasyncend: fbserviceendeventty read fonasyncend write fonasyncend;

This item has no description.

Published property onasyncendmain: fbserviceendeventty read fonasyncendmain write fonasyncendmain;

This item has no description.

Published property onerror: fbserviceerroreventty read fonerror write fonerror;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.