Missing org.freedesktop.UDisks signals (DBus 2.7 and Java)
Matthew Johnson
dbus at matthew.ath.cx
Sat Sep 7 03:30:59 PDT 2013
Hi mzt,
I've just run this (attached) little test and it seems to work fine. I'm using dbus-send to generate the signals and so I had to change DBusInterface to Path in the signals. Path just gives you the string representation, whereas DBusInterface does some magic introspection on the bus to give you a dynamic object. I don't think you need that, however, so try making the same change and see if that helps.
Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UDisks.java
Type: text/x-java
Size: 1037 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20130907/dd95bef1/attachment.java>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ListenHWDBusSignal.java
Type: text/x-java
Size: 1096 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20130907/dd95bef1/attachment-0001.java>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signals.sh
Type: application/x-sh
Size: 295 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20130907/dd95bef1/attachment.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20130907/dd95bef1/attachment.pgp>
More information about the dbus
mailing list