Detecting connection to service

Roman I Khimov roman at khimov.ru
Fri Jun 9 11:47:18 PDT 2006


9 июня 2006 21:14 | Havoc Pennington:
> Roman I Khimov wrote:
> > Hi.
> >
> > 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.)

Uh-oh, thanks. I should read docs more carefully.

-- 
                            Roman
 http://roman.khimov.ru                                              .o.
mailto: roman at khimov.ru                                              ..o
gpg --recv-keys 0xE5E055C3 --keyserver hkp://subkeys.pgp.net         ooo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060609/07aa7fd4/attachment.pgp


More information about the dbus mailing list