Java DBus Namespace problem.
captain.deadly at gmail.com
Tue Mar 2 03:07:02 PST 2010
Matthew Johnson wrote:
> 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);
Sorry that's still giving me a casting exception at runtime :-(
More information about the dbus