Detecting connection to service
hp at redhat.com
Fri Jun 9 10:14:36 PDT 2006
Roman I Khimov wrote:
> I'm trying to make a D-Bus service and recently have stumbled upon a
> problem, I need to be able to detect when objects connect to my service and
> perfrom some action on that event. From what can be found in D-Bus tutorial
> and other places on the net there is a "Disconnect" signal in D-Bus
> specification, but no symmetric "Connect" signal.
> Is there any other possible way to detect incoming connection to a service?
There's no stateful connection from one process to another in dbus, only
from processes to the bus.
(The word "service" is misleading, wherever you saw it you might want to
file a bug.)
More information about the dbus