Tim Waugh [2009-02-02 14:12 -0000]:
> Some careful thinking needs to be done about how exactly this should
> work, as the NewPrinterNotification interface is actually based on the
> applet providing a D-Bus service -- although I said "signals" earlier, I
> was not being specific enough.
Oh, this in fact might make things much easier. D-Bus activation
provides exactly that -- if something tries to call a method on that
service, and it's not running, it will start the service.
Thus if we are *only* concerned about method calls, we can use d-bus
activation as it is. But if we *also* need to react to signals sent by
cups/hal, etc., then we need something running already, since d-bus
activation doesn't trigger on signals.
Hello Tim,
Tim Waugh [2009-02-02 14:12 -0000]: ication interface is actually based on the
> Some careful thinking needs to be done about how exactly this should
> work, as the NewPrinterNotif
> applet providing a D-Bus service -- although I said "signals" earlier, I
> was not being specific enough.
Oh, this in fact might make things much easier. D-Bus activation
provides exactly that -- if something tries to call a method on that
service, and it's not running, it will start the service.
Thus if we are *only* concerned about method calls, we can use d-bus
activation as it is. But if we *also* need to react to signals sent by
cups/hal, etc., then we need something running already, since d-bus
activation doesn't trigger on signals.