[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dbus
Subject: Re: RFC: Libdbus++ - C++ bindings for DBus
From: Thiago Macieira <thiago.macieira () trolltech ! com>
Date: 2006-05-17 17:18:02
Message-ID: 200605171918.17257.thiago.macieira () trolltech ! com
[Download RAW message or body]
staneker@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
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic