I would like to implement the following thing: write a daemon, that will listen to method calls and turn on certain activity on demand. The problem is, that this activity should be turned off, if no application requires it (all the listeners exited).
Is there any standard way to do this (i.e. to make daemon aware of the applications listening)? Or is it DBus just broadcast, so the listeners should pass their PID so I can check if they are still running?
__________________
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!
Is there any standard way to do this (i.e. to make daemon aware of the applications listening)? Or is it DBus just broadcast, so the listeners should pass their PID so I can check if they are still running?
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!
Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google
Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!
Bored? Follow me