Changeset 18236
- Timestamp:
- 06/18/15 20:50:16 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/FACT++_scripts_refactoring/CheckStates.js
r18226 r18236 106 106 }, 107 107 108 checkSend : function (servers, timeout) 109 { 108 checkSend : function (servers, timeout, verbose){ 109 if (verbose) 110 console.out("checkSend: [timeout="+timeout+"]"); 111 if (verbose > 1) 112 { 113 for (var i=0; i<servers.length; i++){ 114 console.out(" "+servers[i]); 115 } 116 } 117 try 118 { 119 this._checkSend(servers, timeout); 120 } 121 catch(error) 122 { 123 // we do nothing and let the exception propagate upwards. 124 } 125 finally 126 { 127 if (verbose) 128 console.out("Checking send: done"); 129 } 130 } 131 132 _checkSend : function (servers, timeout) 133 { 134 110 135 if (timeout===undefined) 111 136 timeout = 5000;
Note:
See TracChangeset
for help on using the changeset viewer.