Missing org.freedesktop.UDisks signals (DBus 2.7 and Java)
mazzzta2 at gmail.com
Wed Sep 11 01:26:17 PDT 2013
That makes sense. I thought at first that using DBusInterface was the only
way of doing things in Java/DBus.
On Tue, Sep 10, 2013 at 4:26 PM, Matthew Johnson <dbus at matthew.ath.cx>wrote:
> On Mon Sep 09 12:29, mazzzta mazzzta wrote:
> > Hi Matt,
> > "If you plug it in again, does it give you another "Device added!" or is
> > now wedged in some fashion?"
> > No, if I plugged it again I still got a "Device added!" message. It is
> > DeviceRemoved the one I never got.
> > From your new code the change of DBusInterface to Path seems to work for
> > now. However I'm still not able to make it work using DBusInterface.
> > Luckily I only need to detect when a signal is sent and nothing else, so
> > your code is enough for my purpose, however I believe that If I'd need
> > data provided by DBusInterface I would have been stuck again.
> You can always turn a path into a DBusInterface, but doing so makes an
> introspection request of the source. If that doesn't exist (because it's
> disconnected, a-la dbus-send) or because it just doesn't send a response,
> the handler won't get called, since it can't create the stub. Therefore
> always better to use Path at first. Using DBusInterface is just a
> and has some limitations.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> -----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dbus