diff options
author | erick <erick@sugar-dev-erick.(none)> | 2009-11-01 01:25:21 (GMT) |
---|---|---|
committer | erick <erick@sugar-dev-erick.(none)> | 2009-11-01 01:25:21 (GMT) |
commit | a1c2aec40787a05bfa7f1ba0abfbf4b905fe152d (patch) | |
tree | 16233f439d96daccf580e0301bf38a179cad6509 /tutorius/service.py | |
parent | 03214b7c2135bc522f2ec069e298fcbf2f68e372 (diff) |
Making probe registration asynchronous
Diffstat (limited to 'tutorius/service.py')
-rw-r--r-- | tutorius/service.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tutorius/service.py b/tutorius/service.py index 70efc80..4be1f41 100644 --- a/tutorius/service.py +++ b/tutorius/service.py @@ -120,7 +120,7 @@ class ServiceProxy: @param unique_id The unique identification associated to this process """ - self._service.register_probe(process_name,unique_id) + remote_call(self._service.register_probe, (process_name,unique_id), block=False) def unregister_probe(self, unique_id): """ Remove a probe from the known probes. @@ -129,7 +129,7 @@ class ServiceProxy: @param unique_id The unique identification associated to this process """ - self._service.unregister_probe(unique_id) + remote_call(self._service.unregister_probe, (unique_id), block=False) if __name__ == "__main__": import dbus.mainloop.glib |