Searched refs:NewTransport (Results 1 – 2 of 2) sorted by relevance
59 static std::unique_ptr<TcpTransport> NewTransport(std::unique_ptr<Socket> socket,81 std::unique_ptr<TcpTransport> TcpTransport::NewTransport(std::unique_ptr<Socket> socket, in NewTransport() function in tcp::TcpTransport194 return TcpTransport::NewTransport(std::move(sock), error); in Connect()
105 static std::unique_ptr<UdpTransport> NewTransport(std::unique_ptr<Socket> socket,141 std::unique_ptr<UdpTransport> UdpTransport::NewTransport(std::unique_ptr<Socket> socket, in NewTransport() function in udp::UdpTransport386 return UdpTransport::NewTransport(std::move(sock), error); in Connect()