Lines Matching refs:attempt
176 ReconnectAttempt attempt = *reconnect_queue_.begin(); in Stop() local
178 remove_transport(attempt.transport); in Stop()
201 ReconnectAttempt attempt; in Run() local
239 attempt = *reconnect_queue_.begin(); in Run()
242 D("attempting to reconnect %s", attempt.transport->serial.c_str()); in Run()
244 switch (attempt.transport->Reconnect()) { in Run()
246 D("attempting to reconnect %s failed.", attempt.transport->serial.c_str()); in Run()
247 if (attempt.attempts_left == 0) { in Run()
249 attempt.transport->serial.c_str()); in Run()
250 remove_transport(attempt.transport); in Run()
256 attempt.transport, in Run()
258 attempt.attempts_left - 1}); in Run()
263 D("reconnection to %s succeeded.", attempt.transport->serial.c_str()); in Run()
264 register_transport(attempt.transport); in Run()
268 D("cancelling reconnection attempt to %s.", attempt.transport->serial.c_str()); in Run()
269 remove_transport(attempt.transport); in Run()