struct Connection

Defined at line 102 of file ../../src/developer/adb/third_party/adb/transport.h

Abstraction for a non-blocking packet transport.

Public Members

atransport * transport_

Public Methods

void Connection ()

Defined at line 103 of file ../../src/developer/adb/third_party/adb/transport.h

void ~Connection ()

Defined at line 104 of file ../../src/developer/adb/third_party/adb/transport.h

void SetTransport (atransport * transport)

Defined at line 106 of file ../../src/developer/adb/third_party/adb/transport.h

bool Write (std::unique_ptr<apacket> packet)
void Start ()
void Stop ()
bool DoTlsHandshake (char * key, std::string * auth_key)
void Reset ()

Stop, and reset the device if it's a USB connection.

Defined at line 89 of file ../../src/developer/adb/third_party/adb/transport.cc

bool Attach (std::string * error)

Defined at line 118 of file ../../src/developer/adb/third_party/adb/transport.h

bool Detach (std::string * error)

Defined at line 123 of file ../../src/developer/adb/third_party/adb/transport.h

void * adb ()
std::string Serial ()

Defined at line 94 of file ../../src/developer/adb/third_party/adb/transport.cc