RFC: Libdbus++ - C++ bindings for DBus

Thiago Macieira thiago.macieira at trolltech.com
Wed May 17 10:18:02 PDT 2006


staneker at gris.uni-tuebingen.de wrote:
>  ...
>  dbus::DBusServerConnection cnct("org.test.communication");
>
[snip]
>  dbus::ClientConnection cnct(getenv("DBUS_SESSION_BUS_ADDRESS"),
> "org.test.communication"); 

Why is there an argument with an interface name there? Or is that a 
service name?

>At the moment, it is like a rmi-system, because the
>instances on the client and on the server-side do not
>directly correspond. It would be nice, to create an instance
>on the server-side, if the instance is created on the
>client-side, but the problem is, when should the server
>destroy the instance, if the client died unexpected? How
>does other bindings (qt/glib) solve this problem?

Someone said that the glib bindings emit a signal when the remote end 
disconnects. The Qt binding doesn't do that. The client side has a loose 
reference to the server side and that's all.

-- 
Thiago José Macieira - thiago.macieira AT trolltech.com
Trolltech AS - Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060517/82f2ac8b/attachment.pgp


More information about the dbus mailing list