Commit graph

14 commits

Author SHA1 Message Date
Zach Klippenstein b43886affb Renamed: HostClient -> Adb, DeviceClient -> Device, Server -> server. 2016-05-21 22:33:20 -07:00
Zach Klippenstein 5fb43080b6 Renamed top-level package from goadb to just adb. 2016-01-15 07:54:27 -08:00
Zach Klippenstein 9f7d11a3bc Refactored ClientConfig into a Server interface.
* StartServer is now a method on Server.
* What used to be Dialer.Dial is now Server.Dial.
* Server.Dial handles trying to start the server if the initial connection fails.
* Dialer now dials a network address.
* All types that took a Dialer now take a Server.
* Server now has tests!
2016-01-10 14:01:58 -08:00
Zach Klippenstein 0aa31c0548 If dialing the server fails initially, attempt to start the server and retry. 2015-09-07 16:06:20 -07:00
Zach Klippenstein 92af9f1b15 Removed unused err return value from NewDeviceWatcher. 2015-09-05 23:24:02 -07:00
Zach Klippenstein 164ab27d25 Implemented device event watcher and improved errors. 2015-07-19 12:45:24 -07:00
Zach Klippenstein 34b3a07ca8 Richer error handling. 2015-07-12 00:37:58 -07:00
Zach Klippenstein 0817d29438 Decoupled clients from each other. 2015-07-11 23:21:10 -07:00
Zach Klippenstein 925d93caef Removed nilSafeDialer and moved AdbPort into goadb package. 2015-05-03 07:39:11 -07:00
Zach Klippenstein a6b8a6fa03 Enhanced error messages. 2015-05-03 05:37:53 -07:00
Zach Klippenstein d0b99d9f57 Parse more bits out of file modes in sync mode. 2015-04-28 14:25:36 -05:00
Zach Klippenstein 4b9891533a Started host and local service clients.
Milestone: the demo app prints /proc/loadavg from the device.
2015-04-12 22:07:12 -07:00
Zach Klippenstein 5492caa668 Lint fixes. 2015-04-11 17:00:58 -07:00
Zach Klippenstein 8d46dec61d Initial commit – wire format implementation and some host client commands. 2015-04-11 16:58:49 -07:00