struct BlockingConnection
Defined at line 138 of file ../../src/developer/adb/third_party/adb/transport.h
Abstraction for a blocking packet transport.
Public Methods
void BlockingConnection ()
Defined at line 139 of file ../../src/developer/adb/third_party/adb/transport.h
void BlockingConnection (const BlockingConnection & copy)
Defined at line 140 of file ../../src/developer/adb/third_party/adb/transport.h
void BlockingConnection (BlockingConnection && move)
Defined at line 141 of file ../../src/developer/adb/third_party/adb/transport.h
bool Read (apacket * packet)
Read/Write a packet. These functions are concurrently called from a transport's reader/writer
threads.
bool Write (apacket * packet)
bool DoTlsHandshake (char * key, std::string * auth_key)
void Close ()
Terminate a connection.
This method must be thread-safe, and must cause concurrent Reads/Writes to terminate.
Formerly known as 'Kick' in atransport.
void Reset ()
Terminate a connection, and reset it.
void * adb ()
void ~BlockingConnection ()
Destroy a BlockingConnection. Formerly known as 'Close' in atransport.
Defined at line 144 of file ../../src/developer/adb/third_party/adb/transport.h