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

View File

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