blob: c1393ecce9407c78555290d20c69284eb1071fb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/env python
import dbus
bus = dbus.SessionBus()
remote_service = bus.get_service("org.designfu.SampleService")
remote_object = remote_service.get_object("/SomeObject",
"org.designfu.SampleInterface")
hello_reply = remote_object.HelloWorld("Hello from example-client.py!")
print (hello_reply)
|