Make it possible to connect to ADB running on other computers.

This commit is contained in:
Simo Kinnunen
2014-06-06 18:01:36 +09:00
parent 2e18778d1c
commit 7fb721f379
3 changed files with 40 additions and 2 deletions

View File

@@ -14,7 +14,10 @@ var lifecycle = require('../util/lifecycle')
module.exports = function(options) {
var log = logger.createLogger('provider')
var client = adb.createClient()
var client = adb.createClient({
host: options.adbHost
, port: options.adbPort
})
var workers = {}
var solo = wireutil.makePrivateChannel()
var lists = {