diff options
author | Jonathan Weth <git@jonathanweth.de> | 2021-06-28 11:01:45 +0200 |
---|---|---|
committer | Jonathan Weth <git@jonathanweth.de> | 2021-06-28 11:01:45 +0200 |
commit | 9ec08cbc84b01ce82f58892556637d8934ede0a5 (patch) | |
tree | e0b3642801305d60f45359b5c9364f5a5318ba18 /test_client.py | |
parent | 3526def9614ac5275f176a42938d11736233f108 (diff) | |
download | RWA.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-x | test_client.py | 6 |
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) |