summaryrefslogtreecommitdiffstats
path: root/Sshuttle VPN.app/Contents/Resources/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'Sshuttle VPN.app/Contents/Resources/models.py')
-rw-r--r--Sshuttle VPN.app/Contents/Resources/models.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/Sshuttle VPN.app/Contents/Resources/models.py b/Sshuttle VPN.app/Contents/Resources/models.py
index ad8e538..c4cbe8b 100644
--- a/Sshuttle VPN.app/Contents/Resources/models.py
+++ b/Sshuttle VPN.app/Contents/Resources/models.py
@@ -58,6 +58,9 @@ NET_ALL = 0
NET_AUTO = 1
NET_MANUAL = 2
+LAT_BANDWIDTH = 0
+LAT_INTERACTIVE = 1
+
class SshuttleServer(NSObject):
def init(self):
self = super(SshuttleServer, self).init()
@@ -155,3 +158,9 @@ class SshuttleServer(NSObject):
def setUseDns_(self, v):
self._k_useDns = v
config_changed()
+
+ def latencyControl(self):
+ return getattr(self, '_k_latencyControl', LAT_INTERACTIVE)
+ def setLatencyControl_(self, v):
+ self._k_latencyControl = v
+ config_changed()