2
0
mirror of https://github.com/esiur/esiur-js.git synced 2025-05-06 12:32:58 +00:00
This commit is contained in:
Ahmed Zamil 2019-07-07 01:47:48 +03:00
parent 144db9ee8b
commit c6c04b0212
3 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@
class DistributedConnection extends IStore {
send(data) {
console.log("Send", data.length);
//console.log("Send", data.length);
this.socket.send(data.buffer);
}
@ -119,7 +119,7 @@ class DistributedConnection extends IStore {
this.socket.onmessage = function (msg) {
console.log("Rec", msg.data.byteLength);
//console.log("Rec", msg.data.byteLength);
this.networkBuffer.writeAll(msg.data);

View File

@ -11,7 +11,7 @@
function init() {
var con = new DistributedConnection("ws://localhost:5001/iip/system/iip", "localhost", "ahmed", "password");
var con = new DistributedConnection("ws://localhost:5001/iip/system/iip", "localhost", "demo", "1234");
Warehouse.put(con, "remote");
con.on("ready", function (d) {

View File

@ -11,7 +11,7 @@
function init() {
var con = new DistributedConnection("ws://localhost:5001/iip/system/iip", "localhost", "ahmed", "password");
var con = new DistributedConnection("ws://localhost:5001/iip/system/iip", "localhost", "demo", "1234");
Warehouse.put(con, "remote");
con.on("ready", function (d) {