Monitor for dbus like dbus-monitor
Submitted by Hugo
Link to original bug (#672181)
Description
Created attachment 209877 My patch to this working, need more tests but working as draft
Hi.
Here is one of my suggestions to d-feet.
Create one interface to d-feet that works like dbus-monitor.
I attach my patch with draft for this working. To use patch: apply patch
Open app, introspect one bus, right click at one interface or object path.
How this work:
#con = dbus.SessionBus
rule = "path='/'" #http://dbus.freedesktop.org/doc/dbus-specification.html#message-bus-routing-match-rules
#this call callback with (con, message) for every transaction that match rule con.add_match_string(rule) con.add_message_filter(callback)
#remove filter con.remove_message_filter(callback) con.remove_match_string(rule)
[]'s
Patch 209877, "My patch to this working, need more tests but working as draft":
add_monitor_feature.patch