Searched refs:tcpConnection (Results 1 – 2 of 2) sorted by relevance
49 function onAcceptCallback(tcpConnection, socketInfo) { argument53 tcpConnection.addDataReceivedListener(function(data) {63 tcpConnection.sendMessage(Commands.run(cmd[0], cmd.slice(1)));65 tcpConnection.sendMessage(ex);
157 var tcpConnection = new TcpConnection(info.clientSocketId);158 this.openSockets.push(tcpConnection);160 tcpConnection.requestSocketInfo(this._onSocketInfo.bind(this));181 TcpServer.prototype._onSocketInfo = function(tcpConnection, socketInfo) { argument183 this.callbacks.connect(tcpConnection, socketInfo);