Searched refs:ProxyServer (Results 1 – 3 of 3) sorted by relevance
114 ProxyServer::ProxyServer(SharedFD server, std::function<SharedFD()> clients_factory) in ProxyServer() function in cuttlefish::ProxyServer177 void ProxyServer::Join() { in Join()183 ProxyServer::~ProxyServer() { in ~ProxyServer()191 ProxyServer proxy(std::move(server), std::move(conn_factory)); in Proxy()195 std::unique_ptr<ProxyServer> ProxyAsync(SharedFD server, std::function<SharedFD()> conn_factory) { in ProxyAsync()196 return std::make_unique<ProxyServer>(std::move(server), std::move(conn_factory)); in ProxyAsync()
27 class ProxyServer {29 ProxyServer(SharedFD server, std::function<SharedFD()> clients_factory);31 ~ProxyServer();47 std::unique_ptr<ProxyServer> ProxyAsync(SharedFD server, std::function<SharedFD()> conn_factory);
148 static Result<std::unique_ptr<ProxyServer>> StartProxyAsync(Server& server, Client& client) { in StartProxyAsync()160 std::unique_ptr<ProxyServer> proxy; in ListenEventsAndProxy()