ENH:increase direct connection protection

jira:[STUDIO-11310]

Change-Id: Ie69a1936542cc2b5bcb32d953763546d9189db7c
(cherry picked from commit debbd2dca42a5594bae895c55a5a0c9273a8762a)
This commit is contained in:
tao wang
2025-04-09 20:14:33 +08:00
committed by Noisyfox
parent 91ee2cdbc2
commit 5570fadb4e
2 changed files with 29 additions and 14 deletions

View File

@@ -292,6 +292,7 @@ public:
wxString comfirm_after_enter_text;
wxString comfirm_last_enter_text;
std::shared_ptr<InputIpAddressDialog> token_;
boost::thread* m_thread{nullptr};
std::string m_ip;
@@ -346,7 +347,7 @@ public:
void on_ok(wxMouseEvent& evt);
void on_send_retry();
void update_test_msg_event(wxCommandEvent &evt);
void post_update_test_msg(wxString text, bool beconnect);
void post_update_test_msg(std::weak_ptr<InputIpAddressDialog> w, wxString text, bool beconnect);
void workerThreadFunc(std::string str_ip, std::string str_access_code, std::string sn, std::string model_id, std::string name);
void OnTimer(wxTimerEvent& event);
void on_text(wxCommandEvent& evt);