summaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/vncviewer/VncViewer.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/tigervnc/vncviewer/VncViewer.java')
-rw-r--r--java/com/tigervnc/vncviewer/VncViewer.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/java/com/tigervnc/vncviewer/VncViewer.java b/java/com/tigervnc/vncviewer/VncViewer.java
index 91504d2c..6a062840 100644
--- a/java/com/tigervnc/vncviewer/VncViewer.java
+++ b/java/com/tigervnc/vncviewer/VncViewer.java
@@ -331,6 +331,14 @@ public class VncViewer extends java.applet.Applet implements Runnable
"Use specified compression level "+
"0 = Low, 6 = High",
1);
+ IntParameter keepAliveTimeout
+ = new IntParameter("KeepAliveTimeout",
+ "Send dummy framebuffer update requests if no "+
+ "network activity has occurred for more than "+
+ "the specified number of seconds. This is to "+
+ "prevent VPNs or other applications from "+
+ "disconnecting due to inactivity. A value of "+
+ "0 disables this feature.", 0);
BoolParameter noJpeg
= new BoolParameter("NoJPEG",
"Disable lossy JPEG compression in Tight encoding.", false);