8 def signal_callback(interface
, signal_name
, service
, path
, message
):
9 print "Received signal %s from %s" % (signal_name
, interface
)
11 # Catch signals from a specific interface and object, and call signal_callback
13 bus
.add_signal_receiver(signal_callback
,
14 "com.burtonini.dbus.Signal", # Interface
16 "/" # Path of sending object
19 # Enter the event loop, waiting for signals