Using corba IDL to describe DBus services ?

Matthew Johnson dbus at matthew.ath.cx
Wed Mar 28 09:15:41 PDT 2007


On Wed Mar 28 17:55, Jacques Guillou wrote:
> Hello,
> 
> I'm trying to find which kind of syntax would be good to describe services
> exposed on DBus in a more flexible way that the current introspection XML
> format.
> As far as I know, defining a data structure is not possible with the current
> introspection format. The only thing you can do is to define a method which
> takes a structure as a parameter, but you can't give this structure a name
> that the stub generators will use to generate a C struct or a java class. Is
> that right ?

You don't need a fixed name to do this though, the struct is the same,
regardless of what you call it. The stubs will be generated in each
language from just the dbus type (or should be, that's a bug in that
language if they aren't). They don't need to have the same name in the
code.

Matt

--
www.matthew.ath.cx
D-Bus Java
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070328/73dac02f/attachment-0001.pgp


More information about the dbus mailing list