diff --git a/client/index.js b/client/index.js
index 5ad7b14..c3cda2c 100644
--- a/client/index.js
+++ b/client/index.js
@@ -16,9 +16,9 @@ var i = 0;
var id = setInterval(function() {
var message = {
uuid: uuid.v1(),
- type: "newOutNotifyError",
+ type: "newInNotifyOutput",
topic: {
- name: "TestTopic",
+ name: "TestTopic" + random(),
ns: "http://play.ow2.org",
prefix:"play"
},
@@ -51,6 +51,10 @@ var id = setInterval(function() {
console.log('Response for request # ' + i + ' (' + diff + ' ms) : ' + response.statusCode + ' : ', body);
}
})
- }, 100);
+ }, 150);
+
+function random() {
+ return Math.floor((Math.random()*10)+1);
+}
diff --git a/public/notify.html b/public/notify.html
index 639094b..e193733 100644
--- a/public/notify.html
+++ b/public/notify.html
@@ -87,40 +87,53 @@
Waiting message...
-
- Live Stats
-
- Last update : -
- FPS since start : -
- FPS in the last ten seconds : -
-
- Messages
+ Live Messages per Topic
+
-
+
+
+
+
diff --git a/public/streamnotify.html b/public/streamnotify.html
new file mode 100644
index 0000000..639094b
--- /dev/null
+++ b/public/streamnotify.html
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Waiting message...
+
+
+
Live Stats
+
+ Last update : -
+ FPS since start : -
+ FPS in the last ten seconds : -
+
+
+
Messages
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file