diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2012-08-20 12:22:27 +0300 |
---|---|---|
committer | Johannes Dahlström <johannesd@vaadin.com> | 2012-08-21 14:44:22 +0300 |
commit | 3741529097e52114b526fb1598d6d4f70be49b2b (patch) | |
tree | 9496f2639ffdfe62440b2f3c0e160688b809b0b2 /client | |
parent | e69c4908ba61b1fd09f0b50ecbc2e0ec11cd06f5 (diff) | |
download | vaadin-framework-3741529097e52114b526fb1598d6d4f70be49b2b.tar.gz vaadin-framework-3741529097e52114b526fb1598d6d4f70be49b2b.zip |
Add heartbeat interval to DeploymentConfiguration, include in bootstrap config (#9265)
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java b/client/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java index eea60b04ea..c3bf3f8b44 100644 --- a/client/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java +++ b/client/src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java @@ -204,6 +204,7 @@ public class ApplicationConfiguration implements EntryPoint { private ErrorMessage communicationError; private ErrorMessage authorizationError; private boolean useDebugIdInDom = true; + private int heartbeatInterval; private HashMap<Integer, String> unknownComponents; @@ -289,6 +290,10 @@ public class ApplicationConfiguration implements EntryPoint { return rootId; } + public int getHeartbeatInterval() { + return heartbeatInterval; + } + public JavaScriptObject getVersionInfoJSObject() { return getJsoConfiguration(id).getVersionInfoJSObject(); } @@ -319,6 +324,9 @@ public class ApplicationConfiguration implements EntryPoint { // null -> false standalone = jsoConfiguration.getConfigBoolean("standalone") == Boolean.TRUE; + heartbeatInterval = jsoConfiguration + .getConfigInteger("heartbeatInterval"); + communicationError = jsoConfiguration.getConfigError("comErrMsg"); authorizationError = jsoConfiguration.getConfigError("authErrMsg"); |