Searched refs:remote_client (Results 1 – 6 of 6) sorted by relevance
105 if (iter->second.remote_client != std::nullopt) { in TimerWaitingRemoteCallResponse()106 CloseRemoteConnection(*(iter->second.remote_client)); in TimerWaitingRemoteCallResponse()191 auto remote_client = ConnectToRemoteCvd(remote_port); in HandleDial() local193 if (!remote_client->IsOpen()) { in HandleDial()204 client_id = channel_monitor_->SetRemoteClient(remote_client, false); in HandleDial()218 call_status.remote_client = client_id; in HandleDial()253 if (call.is_remote_call && call.remote_client != std::nullopt) { in SendCallStatusToRemote()259 SendCommandToRemote(*(call.remote_client), ss.str()); in SendCallStatusToRemote()261 CloseRemoteConnection(*(call.remote_client)); in SendCallStatusToRemote()683 auto client = iter->second.remote_client; in HandleRemoteCall()[all …]
95 auto remote_client = std::make_unique<Client>(client, Client::REMOTE); in SetRemoteClient() local96 auto id = remote_client->Id(); in SetRemoteClient()100 remote_client->first_read_command_ = true; in SetRemoteClient()101 ReadCommand(*remote_client); in SetRemoteClient()104 if (remote_client->client_read_fd_->IsOpen() && in SetRemoteClient()105 remote_client->client_write_fd_->IsOpen()) { in SetRemoteClient()106 remote_client->first_read_command_ = false; in SetRemoteClient()107 remote_clients_.push_back(std::move(remote_client)); in SetRemoteClient()
101 void ModemService::SendCommandToRemote(ClientId remote_client, in SendCommandToRemote() argument104 channel_monitor_->SendRemoteCommand(remote_client, response); in SendCommandToRemote()109 void ModemService::CloseRemoteConnection(ClientId remote_client) { in CloseRemoteConnection() argument111 channel_monitor_->CloseRemoteConnection(remote_client); in CloseRemoteConnection()
254 auto remote_client = ConnectToRemoteCvd(remote_port); in SendSmsToRemote() local255 if (!remote_client->IsOpen()) { in SendSmsToRemote()264 remote_client->Write(token.data(), token.size()); in SendSmsToRemote()265 remote_client->Write(command.data(), command.size()); in SendSmsToRemote()
102 void CloseRemoteConnection(ClientId remote_client);111 void SendCommandToRemote(ClientId remote_client, std::string response);
138 std::optional<ClientId> remote_client; member