Announce which signals subscribe to DBus?

Is there a way to declare which signals are signed by a Python application over DBus?

In other words, is there an advertising method through the Introspective interface that the signals are subscribed to. I am using the D-Bus D-Bus Debugger.

eg. The application subscribes to signal X (using the method add_signal_receiverfor the object bus).

+3
source share
2 answers

This is probably not possible, as the signal is emitted on the bus, and the application simply selects what is interesting. Subscription does not occur inside dbus.

+1
source

D-Bus AddMatch , , ; -.

dbus-, : dbus-monitor member=AddMatch, , D-Bus. , RemoveMatch. . , , , .

+4
source

Source: https://habr.com/ru/post/1732260/


All Articles