Spec clarification: can a signal and a method have the same name?
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue May 22 10:34:37 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
A question for the specification gurus:
Signals and methods are both identified by a pair (interface, member)
where the member part is in the same format for both.
Are bindings expected to support a signal and a method in the same
interface having the same name?
(The OLPC's DataStore has methods called things like 'delete', which
emit signals also called things like 'delete'. I realise this is
an unconventional naming scheme - not my choice - but I don't know
whether this is something I should be supporting or forbidding in dbus-python.
At the moment dbus-python doesn't support this without some awkwardness, or
possibly at all.)
Regards,
Simon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: OpenPGP key: http://www.pseudorandom.co.uk/2003/contact/ or pgp.net
iD8DBQFGUymtWSc8zVUw7HYRAkKOAKDlp6O7bMIaavaj0F0iDipkI2zEIACglEIz
HCIexQ4/88b3IJzXQx0Odts=
=FnLQ
-----END PGP SIGNATURE-----
More information about the dbus
mailing list