summaryrefslogtreecommitdiffstats
path: root/python/examples/example-client.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/example-client.py')
-rw-r--r--python/examples/example-client.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/python/examples/example-client.py b/python/examples/example-client.py
deleted file mode 100644
index 3d170bd4..00000000
--- a/python/examples/example-client.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-
-import dbus
-
-bus = dbus.SessionBus()
-remote_object = bus.get_object("org.designfu.SampleService", "/SomeObject")
-iface = dbus.Interface(remote_object, "org.designfu.SampleInterface")
-
-hello_reply_list = remote_object.HelloWorld("Hello from example-client.py!", dbus_interface = "org.designfu.SampleInterface")
-
-hello_reply_tuple = iface.GetTuple()
-
-hello_reply_dict = iface.GetDict()
-
-print (hello_reply_list)
-
-print str(hello_reply_tuple)
-
-print str(hello_reply_dict)
-
-print remote_object.Introspect(dbus_interface="org.freedesktop.DBus.Introspectable")
-