Added WebSocket server and client

This commit is contained in:
Felipe Polo-Wood 2014-01-06 18:00:27 -05:00
parent b495c47a5a
commit 2f12246301
1 changed files with 3 additions and 2 deletions

View File

@ -398,5 +398,6 @@ $.ajaxSetup({cache: false});
$("#search").live("pageinit", function (event) {
OpenLP.getSearchablePlugins();
});
setInterval("OpenLP.pollServer();", 500);
OpenLP.pollServer();
//setInterval("OpenLP.pollServer();", 30000);
//OpenLP.pollServer();
var ws = new wsEventEngine("ws://" + window.location.hostname + ":9999/Test", OpenLP.pollServer, 500);