Home
last modified time | relevance | path

Searched refs:conn_factory (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/common/libs/utils/
Dsocket2socket_proxy.cpp190 void Proxy(SharedFD server, std::function<SharedFD()> conn_factory) { in Proxy() argument
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() argument
196 return std::make_unique<ProxyServer>(std::move(server), std::move(conn_factory)); in ProxyAsync()
Dsocket2socket_proxy.h46 void Proxy(SharedFD server, std::function<SharedFD()> conn_factory);
47 std::unique_ptr<ProxyServer> ProxyAsync(SharedFD server, std::function<SharedFD()> conn_factory);