Searched refs:FdConnection (Results 1 – 4 of 4) sorted by relevance
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()
324 struct EmulatorConnection : public FdConnection {326 : FdConnection(std::move(fd)), local_port_(local_port) {} in EmulatorConnection()341 FdConnection::Close(); in Close()396 auto fd_connection = std::make_unique<FdConnection>(std::move(fd)); in init_socket_transport()
161 struct FdConnection : public BlockingConnection { struct162 explicit FdConnection(unique_fd fd) : fd_(std::move(fd)) {} in FdConnection() function
389 bool FdConnection::Read(apacket* packet) { in Read()410 bool FdConnection::Write(apacket* packet) { in Write()426 void FdConnection::Close() { in Close()