Semantics of o.fd.DBus.Properties

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Feb 8 07:10:50 PST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 08 Feb 2008 at 14:53:16 +0000, Daniel P. Berrange wrote:
> A few notes on how I deal with this in Perl bindings...
> > * Are "complete" bindings required to support properties of the same name
> >   in different interfaces?
> 
> The Perl bindings support this, though its easier for people if all the
> property names are unique.  Normally you can just acess the property
> directly from the object
> 
>     $obj->SomeProp($newval)
> 
> or
> 
>     $val = $obj->SomeProp()

I'm more interested in service-side - as you say, in a client you can always
make the method calls directly (and in fact this is all you can do in at
least GLib and Python, and possibly Qt - GLib special-cases properties
on the service-side but not on the client-side). Do you support
implementing a service in Perl?

    Simon
-----BEGIN PGP SIGNATURE-----

iD8DBQFHrHD6WSc8zVUw7HYRAsA1AJ4sonYWjkNsZYGSLoKHX+VsFD3ftACfd2O3
z17iQbsNBHaVih6VKCcjkP0=
=fnQZ
-----END PGP SIGNATURE-----


More information about the dbus mailing list