Problems with D-Bus in Java

Matthew Johnson dbus at matthew.ath.cx
Thu May 6 07:19:22 PDT 2010


On Thu May 06 15:10, Thiago Macieira wrote:
> > You will have to create your own interface extending DBusInterface for
> > anything to work, that is required. I would also like to see the
> > introspection data that the QT program is exporting (call
> > org.freedesktop.DBus.Introspectable.Introspect on it) because it's not
> > clear to me what the interface name should be (com.andago.com doesn't seem
> > likely)
> 
> $ qdbuscpp2xml /tmp/test.h
> <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" 
> "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
> <node>
>   <interface name="local.Dmanager">

In which case I think you probably want to give Java the interface name
local.Dmanager. You can use CreateInterface to do this for you from the xml
that qdbuscpp2xml produces.

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/20100506/a6162164/attachment.pgp>


More information about the dbus mailing list