dbus example

Thiago Macieira thiago at kde.org
Tue Aug 1 07:44:39 UTC 2017


On terça-feira, 1 de agosto de 2017 00:34:05 PDT Yubin Ruan wrote:
> 2017-08-01 15:23 GMT+08:00 Thiago Macieira <thiago at kde.org>:
> > On terça-feira, 1 de agosto de 2017 00:11:33 PDT Yubin Ruan wrote:
> >> Hi,
> >> I am wondering whether anyone can offer me a simple workable
> >> client-server example. I have finished reading the tutorials at dbus's
> >> website but cannot figure out how to use dbus in practice. All the
> >> examples there are too abstract and only describe interface and design
> >> pattern behind it.
> >> 
> >> So it would be more easier for me to get start if anyone in this list
> >> can offer me an client-server example where client send messages to
> >> server using dbus as a communication tunnel.
> > 
> > Do you have a preference for a D-Bus binding?
> 
> Sorry I should have mentioned that a C/C++ binding would be
> preferable. But if you have examples in other bindings it is also OK.

Any C++ binding will work? Then I can give you examples using QtDBus.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center



More information about the dbus mailing list