struct asocket
Defined at line 45 of file ../../src/developer/adb/third_party/adb/socket.h
An asocket represents one half of a connection between a local and
remote entity. A local asocket is bound to a file descriptor. A
remote asocket is bound to the protocol engine.
Public Members
unsigned int id
int closing
bool has_write_error
int exit_on_close
bool newline_replace
asocket * peer
int (*)(asocket *, apacket::payload_type) enqueue
void (*)(asocket *) ready
void (*)(asocket *) shutdown
void (*)(asocket *) close
atransport * transport
socket zx_socket
void * adb
vector packet_queue
optional available_send_bytes
basic_string smart_socket_data
thread outgoing_thrd
atomic destroy_outgoing
basic_string name
Public Methods
size_t get_max_payload ()
Defined at line 740 of file ../../src/developer/adb/third_party/adb/socket.cc