File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
services/static-webserver/client/source/class/osparc Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,15 @@ qx.Class.define("osparc.WatchDog", {
6868 check : "Number" ,
6969 init : 2 * 1000 , // in milliseconds
7070 nullable : false ,
71- apply : "_applyHeartbeatInterval"
72- }
71+ apply : "__applyHeartbeatInterval"
72+ } ,
73+
74+ appConnected : {
75+ check : "Boolean" ,
76+ init : false ,
77+ nullable : false ,
78+ event : "changeAppConnected"
79+ } ,
7380 } ,
7481
7582 members : {
@@ -88,8 +95,10 @@ qx.Class.define("osparc.WatchDog", {
8895 }
8996 } ,
9097
91- _applyHeartbeatInterval : function ( value ) {
98+ __applyHeartbeatInterval : function ( value ) {
9299 this . __clientHeartbeatWWPinger . postMessage ( [ "start" , value ] ) ;
100+
101+ this . setAppConnected ( true ) ;
93102 } ,
94103
95104 __pingServer : function ( ) {
You can’t perform that action at this time.
0 commit comments