Searched refs:FdConnection (Results 1 – 5 of 5) sorted by relevance
238 struct EmulatorConnection : public FdConnection {240 : FdConnection(std::move(fd)), local_port_(local_port) {} in EmulatorConnection()255 FdConnection::Close(); in Close()307 auto fd_connection = std::make_unique<FdConnection>(std::move(fd)); in init_socket_transport()
28 BENCHMARK_TEMPLATE(benchmark_name, FdConnection, ##__VA_ARGS__) \44 std::unique_ptr<Connection> MakeConnection<FdConnection>(unique_fd fd) { in MakeConnection()45 auto fd_connection = std::make_unique<FdConnection>(std::move(fd)); in MakeConnection()
444 FdConnection::FdConnection(unique_fd fd) : fd_(std::move(fd)) {} in FdConnection() function in FdConnection446 FdConnection::~FdConnection() {} in ~FdConnection()448 bool FdConnection::DispatchRead(void* buf, size_t len) { in DispatchRead()460 bool FdConnection::DispatchWrite(void* buf, size_t len) { in DispatchWrite()472 bool FdConnection::Read(apacket* packet) { in Read()493 bool FdConnection::Write(apacket* packet) { in Write()509 bool FdConnection::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake()555 void FdConnection::Close() { in Close()
200 struct FdConnection : public BlockingConnection { struct201 explicit FdConnection(unique_fd fd);202 ~FdConnection();
102 auto fd_connection = std::make_unique<FdConnection>(std::move(fd)); in init_socket_transport()