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()
432 FdConnection::FdConnection(unique_fd fd) : fd_(std::move(fd)) {} in FdConnection() function in FdConnection434 FdConnection::~FdConnection() {} in ~FdConnection()436 bool FdConnection::DispatchRead(void* buf, size_t len) { in DispatchRead()448 bool FdConnection::DispatchWrite(void* buf, size_t len) { in DispatchWrite()460 bool FdConnection::Read(apacket* packet) { in Read()481 bool FdConnection::Write(apacket* packet) { in Write()497 bool FdConnection::DoTlsHandshake(RSA* key, std::string* auth_key) { in DoTlsHandshake()543 void FdConnection::Close() { in Close()
196 struct FdConnection : public BlockingConnection { struct197 explicit FdConnection(unique_fd fd);198 ~FdConnection();
114 auto fd_connection = std::make_unique<FdConnection>(std::move(fd)); in init_socket_transport()