Detecting connection to service
hp at redhat.com
Fri Jun 9 12:42:47 PDT 2006
Roman I Khimov wrote:
> For example, we might have something sort of a shared library available as a
> set D-Bus objects and want to load it with first app using it (and that is
> possible today), but unload it when last application using it will close
> it's D-Bus connection (so it doesn't waste precious memory).
The simplest approach if it works is to just exit after a timeout (if
not used for a couple minutes, then exit). If you set things up right
dbus will autostart it again if someone tries to use it.
More information about the dbus