Integration / D Bus Interview Questions
What is a D-Bus signal?
A D-Bus signal is a one-way, broadcast-style message that a service emits to announce that something happened, without expecting or waiting for any reply.
Unlike a method call, which targets a specific destination and gets a direct response, a signal is sent out and any process that has subscribed with a matching match rule receives it. Common examples include PropertiesChanged, emitted whenever a property's value changes, or NameOwnerChanged, emitted by the bus itself whenever a well-known name's owner changes.
Signals are the mechanism behind reactive behavior in D-Bus applications: instead of polling a service repeatedly to check if something changed, a client subscribes once and gets notified exactly when it matters.
More Related questions...