Where to start
Havoc Pennington
hp at redhat.com
Sun Mar 27 20:12:50 PST 2005
On Mon, 2005-03-28 at 00:55 +0100, Tony Houghton wrote:
> As I want one or more applications to receive messages from a capplet
> which is not always running, I want some way for the name owner
> (capplet) to broadcast messages to any application listening to messages
> for that name. Is that possible?
What you do is create a message of type signal and then just send it
out. There should be no destination field in this case.
> The newer spec doesn't mention
> broadcasting eg via org.freedesktop.DBus.Broadcast, so has that feature
> been removed?
I'm not sure it ever worked that way to be honest; I wrote it in the
spec and then rapidly decided that was a bad approach. I don't remember
if I even implemented it.
> The "Message Routing" section just says "FIXME", so I'm
> afraid I need a little help here!
Look at the PNG/SVG diagram on the web site, perhaps.
Sorry this is a bit hard to figure out, but you're dealing with pre-1.0
software. The eventual idea will be a nice simple tutorial using the
GLib bindings, but not much point writing it until the API is more
stable.
Havoc
More information about the dbus
mailing list