Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius/service.py
diff options
context:
space:
mode:
authorerick <erick@sugar-dev-erick.(none)>2009-11-01 01:25:21 (GMT)
committer Vincent Vinet <vince.vinet@gmail.com>2009-11-09 15:11:11 (GMT)
commita7ca31d17194539f7b4428eef257b5ba8582c364 (patch)
tree8008afb46530944bd5f1d5b51398f741a67f8c52 /tutorius/service.py
parent7c81300e2e183c8f4bffe06a7541b46fb2635cae (diff)
Making probe registration asynchronous
Diffstat (limited to 'tutorius/service.py')
-rw-r--r--tutorius/service.py4
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