Home
last modified time | relevance | path

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

/device/google/cuttlefish/common/frontend/socket_vsock_proxy/
Dmain.cpp79 class SocketReceiver { class
81 explicit SocketReceiver(cuttlefish::SharedFD socket) : socket_{socket} {} in SocketReceiver() function in __anoncf1dec2f0111::SocketReceiver
83 SocketReceiver(SocketReceiver&&) = default;
84 SocketReceiver& operator=(SocketReceiver&&) = default;
86 SocketReceiver(const SocketReceiver&&) = delete;
87 SocketReceiver& operator=(const SocketReceiver&) = delete;
103 void SocketToVsock(SocketReceiver socket_receiver, in SocketToVsock()
117 SocketReceiver vsock_receiver) { in VsockToSocket()
137 std::thread(SocketToVsock, SocketReceiver{socket}, SocketSender{vsock}); in HandleConnection()
138 VsockToSocket(SocketSender{socket}, SocketReceiver{vsock}); in HandleConnection()