Java DBus Namespace problem.
Matthew Johnson
dbus at matthew.ath.cx
Tue Mar 2 01:45:17 PST 2010
On Tue Mar 02 09:40, Arigead wrote:
> > Hmm, try passing the class explicitly to dbusConnection.getRemoteObject. When
> > you use the version without the class it introspects the given path to work out
> > which interfaces it supports. Sounds like that path does not claim to support
> > that interface.
>
> nav n = (nav) dbusConnection.getRemoteObject(NavitBusName, NavitPath);
>
> I'm sure there's a way around this :-(
Try using:
nav n = (nav) dbusConnection.getRemoteObject(NavitBusName, NavitPath, nav.class);
Matt
--
www.matthew.ath.cx
D-Bus Java
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100302/aff63ecb/attachment.pgp>
More information about the dbus
mailing list