From dcc037cc1f008eae9f6a35aca5b1935459e44647 Mon Sep 17 00:00:00 2001 From: Seth Nickell Date: Thu, 25 Sep 2003 08:46:39 +0000 Subject: 2003-09-25 Seth Nickell * python/dbus.py: * python/dbus_bindings.pyx.in: Handle return values. * python/examples/example-client.py: * python/examples/example-service.py: Pass back return values from the service to the client. --- python/examples/example-client.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'python/examples/example-client.py') diff --git a/python/examples/example-client.py b/python/examples/example-client.py index 24906b83..0038b2db 100644 --- a/python/examples/example-client.py +++ b/python/examples/example-client.py @@ -4,6 +4,9 @@ import dbus bus = dbus.Bus() remote_service = bus.get_service("org.designfu.SampleService") -remote_object = remote_service.get_object("/MyObject", "org.designfu.SampleInterface") +remote_object = remote_service.get_object("/SomeObject", + "org.designfu.SampleInterface") -remote_object.HelloWorld("Hello from example-client.py!") +hello_reply = remote_object.HelloWorld("Hello from example-client.py!") + +print (hello_reply) -- cgit