From: Matteo Nastasi (mop) Date: Wed, 2 Jan 2013 09:58:19 +0000 (+0100) Subject: add status visualization to xynt_test01.php test file X-Git-Tag: v4.5.0~1 X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=93f201e82b6497b86245817a170904151b6b06ac;p=brisk.git add status visualization to xynt_test01.php test file --- diff --git a/web/xynt_test01.php b/web/xynt_test01.php index 8c050b0..f9efb7b 100644 --- a/web/xynt_test01.php +++ b/web/xynt_test01.php @@ -1,11 +1,11 @@ il client aspetta 3 secondi, e poi da 10 a N ogni secondo"); +$desc = array( "Semplice: da 1 a 9 ogni secondo, poi ricomincia (status sempre verde).", + "Continuo: da 1 a N ogni secondo, ricomincia ogni 9 (status sempre verde).", + "Restart: da 1 a 8 ogni secondo, pausa 16 secondi (status passa ad arancione e poi a rosso), poi ricomincia (e status torna a verde).", + "Pausa: da 1 a 5 ogni secondo, pausa 3 secondi, e poi 8 e 9 ogni secondo, e poi ricomincia (status sempre verde).", + "Keyword: da 1 a 5 ogni secondo, @BEGIN@, @END@, @BEGIN@ xxx yyy @END@, 9, (status sempre verde).", + "Reload limiter: da 1 a 8 ogni secondo e chiude, 9 setta e chiude subito,
il client aspetta 3 secondi, e poi da 10 a N ogni secondo, (status sempre verde)."); $transs = array( "iframe", "xhr", "htmlfile" ); @@ -167,6 +167,7 @@ if ($isstream == "true") { + @@ -178,7 +179,7 @@ if ($isstream == "true") { window.onload = function() { xstm = new xynt_streaming(window, "", null /* console */, gst, 'xynt_test01_php', 'sess', sess, null, 'xynt_test01.php?isstream=true&f_test=', function(com){eval(com);}); - /* xstm.hbit_set(heartbit); */ + xstm.hbit_set(heartbit); xstm.start(); } //--> @@ -204,6 +205,11 @@ printf("
[%s]
Test: %d
", $f_trans, $f_test);
Descrizione: +
+ +
+Status:
+
Counter: