void zmq::ipc_connecter_t::add_reconnect_timer() { int rc_ivl = get_new_reconnect_ivl(); add_timer (rc_ivl, reconnect_timer_id); socket->event_connect_retried (endpoint, rc_ivl); timer_started = true; }
void zmq::tcp_connecter_t::add_reconnect_timer () { const int interval = get_new_reconnect_ivl (); add_timer (interval, reconnect_timer_id); socket->event_connect_retried (endpoint, interval); reconnect_timer_started = true; }
void zmq::ipc_connecter_t::add_reconnect_timer() { int rc_ivl = get_new_reconnect_ivl(); add_timer (rc_ivl, reconnect_timer_id); session->monitor_event (ZMQ_EVENT_CONNECT_RETRIED, endpoint.c_str(), rc_ivl); timer_started = true; }
void zmq::socks_connecter_t::start_timer () { const int interval = get_new_reconnect_ivl (); add_timer (interval, reconnect_timer_id); status = waiting_for_reconnect_time; socket->event_connect_retried (endpoint, interval); }
void zmq::zmq_connecter_t::add_reconnect_timer() { add_timer (get_new_reconnect_ivl(), reconnect_timer_id); }