From a7ca31d17194539f7b4428eef257b5ba8582c364 Mon Sep 17 00:00:00 2001 From: erick Date: Sun, 01 Nov 2009 01:25:21 +0000 Subject: Making probe registration asynchronous --- (limited to 'tutorius') 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 -- cgit v0.9.1