aboutsummaryrefslogtreecommitdiff
path: root/test_client.py
diff options
context:
space:
mode:
authorJonathan Weth <git@jonathanweth.de>2021-06-28 11:01:45 +0200
committerJonathan Weth <git@jonathanweth.de>2021-06-28 11:01:45 +0200
commit9ec08cbc84b01ce82f58892556637d8934ede0a5 (patch)
treee0b3642801305d60f45359b5c9364f5a5318ba18 /test_client.py
parent3526def9614ac5275f176a42938d11736233f108 (diff)
downloadRWA.Support.SessionService-9ec08cbc84b01ce82f58892556637d8934ede0a5.tar.gz
RWA.Support.SessionService-9ec08cbc84b01ce82f58892556637d8934ede0a5.tar.bz2
RWA.Support.SessionService-9ec08cbc84b01ce82f58892556637d8934ede0a5.zip
Support multiple hosts
Diffstat (limited to 'test_client.py')
-rwxr-xr-xtest_client.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test_client.py b/test_client.py
index 850e8d3..0e78784 100755
--- a/test_client.py
+++ b/test_client.py
@@ -29,7 +29,9 @@ import dbus
bus = dbus.SessionBus()
-time = bus.get_object("org.ArcticaProject.RWASupportSessionService", "/RWASupportSessionService")
+api = bus.get_object("org.ArcticaProject.RWASupportSessionService", "/RWASupportSessionService")
-curr = time.start()
+hosts = api.get_web_app_hosts()
+print(hosts)
+curr = api.start(0)
print("Your VNC session is", curr)