Class tdbusservice

Unit

Declaration

type tdbusservice = class(tlinkedobject, idbusservice, idbusobject)

Description

No description available, ancestor tlinkedobject description follows
No description available, ancestor tnullinterfacedobject description follows

Hierarchy

Overview

Methods

Protected procedure disconnect();
Protected function doaddwatch(const awatch: pdbuswatch): int32;
Protected procedure dowatchtoggled(const awatch: pdbuswatch);
Protected procedure doremovewatch(const awatch: pdbuswatch);
Protected function doaddtimeout(const atimeout: pdbustimeout): int32;
Protected procedure dotimeouttoggled(const atimeout: pdbustimeout);
Protected procedure doremovetimeout(const atimeout: pdbustimeout);
Protected procedure updatewatch(const awatch: pdbuswatch);
Protected procedure updatetimeout(const atimeout: pdbustimeout);
Protected procedure dotimer(const sender: tobject);
Protected function err(): pdbuserror;
Protected function checkok(): boolean;
Protected procedure raisedbuserror();
Protected procedure doidle(var again: boolean);
Protected procedure dopendingcallback(pending: pDBusPendingCall);
Protected procedure setupmessage(const amessage: pdbusmessage; const params: array of variantvaluety);
Protected function methodcall(const bus_name,path,iface,method: string; const params: array of variantvaluety): pdbusmessage;
Protected procedure dounregisterobj(const aobj: pobjinfoty);
Protected procedure doregisteritems(const aobj: pobjinfoty);
Protected procedure dounregisteritems(const aobj: pobjinfoty);
Protected procedure unregisteritem(const apath: string);
Protected procedure mainfilter(const amessage: pdbusmessage; var handled: boolean);
Protected procedure registerobjects();
Protected procedure unregisterobjects();
Protected function checkconnect(): boolean;
Protected procedure introspect(const amessage: pdbusmessage; const adata: pointer; var ahandled: boolean);
Protected procedure registeritems(const sender: idbusservice);
Protected function getpath(): string;
Protected function getintrospecttext(const aindent: int32): string;
Protected procedure busconnected();
Public constructor create();
Public destructor destroy(); override;
Public function connected: boolean;
Public function connect: boolean;
Public procedure registerobject(const sender: idbusobject);
Public procedure unregisterobject(const sender: idbusobject);
Public procedure registermethodhandler(const ainterface: string; const amember: string; const asignature: array of dbusdataty; const ahandler: messagedataeventty; const adata: pointer);
Public procedure registersignalhandler(const asender: string; const apath: string; const ainterface: string; const amember: string; const asignature: array of dbusdataty; const ahandler: messagedataeventty; const adata: pointer);
Public function dbuscallmethod(const returnedto: idbusresponse; var aserial: card32; const bus_name,path,iface,method: string; const params: array of variantvaluety; const timeout: int32 = -1): boolean;
Public function dbuscallmethod(const bus_name,path,iface,method: string; const params: array of variantvaluety; const resulttypes: array of dbusdataty; const results: array of pointer; const timeout: int32 = -1): boolean;
Public function dbusreadmessage(const amessage: pdbusmessage; const resulttypes: array of dbusdataty; const results: array of pointer; const apartial: boolean = false): boolean;
Public function dbusgetproperty(const bus_name,path,iface,property_name: string; const resulttypes: array of dbusdataty; const results: array of pointer; const timeout: int32 = -1): boolean;
Public function dbusreply(const amessage: pdbusmessage; const params: array of variantvaluety): boolean;
Public function dbuserror(const amessage: pdbusmessage; const aname: string; const atext: string): boolean;
Public function dbussignal(const path,iface,name: string; const params: array of variantvaluety): boolean;

Properties

Public property dbusid: string read fbusid;
Public property dbusname: string read fbusname;

Description

Methods

Protected procedure disconnect();
 
Protected function doaddwatch(const awatch: pdbuswatch): int32;
 
Protected procedure dowatchtoggled(const awatch: pdbuswatch);
 
Protected procedure doremovewatch(const awatch: pdbuswatch);
 
Protected function doaddtimeout(const atimeout: pdbustimeout): int32;
 
Protected procedure dotimeouttoggled(const atimeout: pdbustimeout);
 
Protected procedure doremovetimeout(const atimeout: pdbustimeout);
 
Protected procedure updatewatch(const awatch: pdbuswatch);
 
Protected procedure updatetimeout(const atimeout: pdbustimeout);
 
Protected procedure dotimer(const sender: tobject);
 
Protected function err(): pdbuserror;
 
Protected function checkok(): boolean;
 
Protected procedure raisedbuserror();
 
Protected procedure doidle(var again: boolean);
 
Protected procedure dopendingcallback(pending: pDBusPendingCall);
 
Protected procedure setupmessage(const amessage: pdbusmessage; const params: array of variantvaluety);
 
Protected function methodcall(const bus_name,path,iface,method: string; const params: array of variantvaluety): pdbusmessage;
 
Protected procedure dounregisterobj(const aobj: pobjinfoty);
 
Protected procedure doregisteritems(const aobj: pobjinfoty);
 
Protected procedure dounregisteritems(const aobj: pobjinfoty);
 
Protected procedure unregisteritem(const apath: string);
 
Protected procedure mainfilter(const amessage: pdbusmessage; var handled: boolean);
 
Protected procedure registerobjects();
 
Protected procedure unregisterobjects();
 
Protected function checkconnect(): boolean;
 
Protected procedure introspect(const amessage: pdbusmessage; const adata: pointer; var ahandled: boolean);
 
Protected procedure registeritems(const sender: idbusservice);
 
Protected function getpath(): string;
 
Protected function getintrospecttext(const aindent: int32): string;
 
Protected procedure busconnected();
 
Public constructor create();
 
Public destructor destroy(); override;
 
Public function connected: boolean;
 
Public function connect: boolean;
 
Public procedure registerobject(const sender: idbusobject);
 
Public procedure unregisterobject(const sender: idbusobject);
 
Public procedure registermethodhandler(const ainterface: string; const amember: string; const asignature: array of dbusdataty; const ahandler: messagedataeventty; const adata: pointer);
 
Public procedure registersignalhandler(const asender: string; const apath: string; const ainterface: string; const amember: string; const asignature: array of dbusdataty; const ahandler: messagedataeventty; const adata: pointer);
 
Public function dbuscallmethod(const returnedto: idbusresponse; var aserial: card32; const bus_name,path,iface,method: string; const params: array of variantvaluety; const timeout: int32 = -1): boolean;
 
Public function dbuscallmethod(const bus_name,path,iface,method: string; const params: array of variantvaluety; const resulttypes: array of dbusdataty; const results: array of pointer; const timeout: int32 = -1): boolean;
 
Public function dbusreadmessage(const amessage: pdbusmessage; const resulttypes: array of dbusdataty; const results: array of pointer; const apartial: boolean = false): boolean;
 
Public function dbusgetproperty(const bus_name,path,iface,property_name: string; const resulttypes: array of dbusdataty; const results: array of pointer; const timeout: int32 = -1): boolean;
 
Public function dbusreply(const amessage: pdbusmessage; const params: array of variantvaluety): boolean;
 
Public function dbuserror(const amessage: pdbusmessage; const aname: string; const atext: string): boolean;
 
Public function dbussignal(const path,iface,name: string; const params: array of variantvaluety): boolean;
 

Properties

Public property dbusid: string read fbusid;
 
Public property dbusname: string read fbusname;
 

Generated by PasDoc 0.16.0.