[Mono-devel-list] D-Bus

Owen Fraser-Green owen at discobabe.net
Thu Nov 18 18:28:14 EST 2004


Hi,

There's a page on the dbus homepage which lists implementations (see
those marked M). It's unfortunately down at the moment but here's the
google cache:

http://www.google.no/search?
q=cache:yeLmMxHyrp8J:www.freedesktop.org/Software/DbusProjects

The README in the the mono directory of the dbus source has provides a
brief explanation. There's also a couple of examples in the example
subdirectory.

In fact, if it's plain old RPC then there really isn't much you need to
add to your code other than some MethodAttributes on the server side and
a couple of lines to get your object on the client side. 

If, on the other hand, you want to write some client code which uses an
existing dbus service then you just need to write stubs for the server-
side functions. In the HAL source tree on freedesktop.org is a module
called hal-sharp which does this.

For a larger example you could look at permovi
<http://forge.novell.com/modules/xfmod/project/?permovi> although it's
fairly non-functional and probably a little hard to see the woods for
the trees.

Cheers,
Owen

On Thu, 2004-11-18 at 13:57 -0500, Nigel Benns wrote:
> Does anyone know where there is a good basic example of using Dbus with C#?
> 
> I don't know where else to ask this, and searching google only turns up C
> examples (reading C is like pulling teeth to me).
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
-- 
Owen Fraser-Green <owen at discobabe.net>




More information about the Mono-devel-list mailing list