Home
last modified time | relevance | path

Searched refs:tcpConnection (Results 1 – 2 of 2) sorted by relevance

/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/
Dmain.js49 function onAcceptCallback(tcpConnection, socketInfo) { argument
53 tcpConnection.addDataReceivedListener(function(data) {
63 tcpConnection.sendMessage(Commands.run(cmd[0], cmd.slice(1)));
65 tcpConnection.sendMessage(ex);
Dtcp-server.js157 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) { argument
183 this.callbacks.connect(tcpConnection, socketInfo);