I know DBUS can be a powerful event and messaging system. Can anyone suggest some good links/info on getting the most from DBUS?
Thanks in avance
Jeffy
Printable View
I know DBUS can be a powerful event and messaging system. Can anyone suggest some good links/info on getting the most from DBUS?
Thanks in avance
Jeffy
I have mixed feelings about dbus* and have never programmed for it, but if I was going to, I'd probably start here:
D-Bus GLib bindings - Reference Manual
*mostly because AFAICT it does not do anything that can't be done with regular IPC but seems to introduces a bunch of new (hence perhaps unnecessary) complications, and has slowly and insidiously become a default in most standard installations. On the other hand, the only way for something like that to succeed is probably to risk failure on a massive scale until it all works.
It offers a service detection system and a publish/subscribe mechanism. Such a thing was sorely lacking in the *nix world before DBus.Quote:
it does not do anything that can't be done with regular IPC
@all. Tks for the opinions. From a purely IPC standpoint MK27 is correct but as CornedBee says it does provide key system evens like media insertion, things like that and that is the kind of stuff I want to learn more of. For normal IPC if I don't have to worry about non-NIX platforms good old msg queues work just dandy for me; if these need to go off-machine I can always wrap the msg packet contents in XML and push it out through a socket. It is the system events I was more curious about.