Home
last modified time | relevance | path

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

/device/google/cuttlefish_common/common/frontend/socket_vsock_proxy/
Dmain.cpp76 class SocketReceiver { class
78 explicit SocketReceiver(cvd::SharedFD socket) : socket_{socket} {} in SocketReceiver() function in __anon0f53e1c00111::SocketReceiver
80 SocketReceiver(SocketReceiver&&) = default;
81 SocketReceiver& operator=(SocketReceiver&&) = default;
83 SocketReceiver(const SocketReceiver&&) = delete;
84 SocketReceiver& operator=(const SocketReceiver&) = delete;
99 void SocketToVsock(SocketReceiver socket_receiver, in SocketToVsock()
112 SocketReceiver vsock_receiver) { in VsockToSocket()
132 std::thread(SocketToVsock, SocketReceiver{socket}, SocketSender{vsock}); in HandleConnection()
133 VsockToSocket(SocketSender{socket}, SocketReceiver{vsock}); in HandleConnection()
/device/google/cuttlefish_common/common/frontend/socket_forward_proxy/
Dmain.cpp94 class SocketReceiver { class
96 explicit SocketReceiver(cvd::SharedFD socket) : socket_{std::move(socket)} {} in SocketReceiver() function in __anon229ddf6f0111::SocketReceiver
98 SocketReceiver(SocketReceiver&&) = default;
99 SocketReceiver& operator=(SocketReceiver&&) = default;
101 SocketReceiver(const SocketReceiver&&) = delete;
102 SocketReceiver& operator=(const SocketReceiver&) = delete;
117 void SocketToShm(SocketReceiver socket_receiver, in SocketToShm()
150 std::thread(SocketToShm, SocketReceiver{socket}, std::move(shm_sender_and_receiver.first)); in HandleConnection()