Android-cuttlefish cvd tool
Public Member Functions | Private Attributes | List of all members
cuttlefish::ProxyServer Class Reference

#include <socket2socket_proxy.h>

Collaboration diagram for cuttlefish::ProxyServer:
Collaboration graph
[legend]

Public Member Functions

 ProxyServer (SharedFD server, std::function< SharedFD()> clients_factory)
 
void Join ()
 
 ~ProxyServer ()
 

Private Attributes

SharedFD stop_fd_
 
std::thread server_
 

Constructor & Destructor Documentation

◆ ProxyServer()

cuttlefish::ProxyServer::ProxyServer ( SharedFD  server,
std::function< SharedFD()>  clients_factory 
)

◆ ~ProxyServer()

cuttlefish::ProxyServer::~ProxyServer ( )

Member Function Documentation

◆ Join()

void cuttlefish::ProxyServer::Join ( )

Member Data Documentation

◆ server_

std::thread cuttlefish::ProxyServer::server_
private

◆ stop_fd_

SharedFD cuttlefish::ProxyServer::stop_fd_
private

The documentation for this class was generated from the following files: