| 720 | |
| 721 | template<typename Protocol> |
| 722 | void client_endpoint_impl<Protocol>::start_connect_timer() { |
| 723 | |
| 724 | std::scoped_lock its_lock(connect_timer_mutex_); |
| 725 | connect_timer_.expires_after(std::chrono::milliseconds(connect_timeout_)); |
| 726 | connect_timer_.async_wait( |
| 727 | std::bind(&client_endpoint_impl<Protocol>::wait_connect_cbk, this->shared_from_this(), std::placeholders::_1)); |
| 728 | } |
| 729 | |
| 730 | template<typename Protocol> |
| 731 | void client_endpoint_impl<Protocol>::start_connecting_timer() { |
no test coverage detected