1 #ifndef PROTON_CPP_RECONNECT_H
2 #define PROTON_CPP_RECONNECT_H
28 #include "proton/export.hpp"
30 #include "proton/reactor.hpp"
41 PN_CPP_EXTERN reconnect_timer(uint32_t first = 0, int32_t max = -1, uint32_t increment = 100,
42 bool doubling =
true, int32_t max_retries = -1, int32_t timeout = -1);
45 PN_CPP_EXTERN
void reset();
48 PN_CPP_EXTERN
int next_delay();
59 pn_timestamp_t timeout_deadline_;
62 friend class connector;
69 #endif // PROTON_CPP_RECONNECT_H
Defines C++ types representing AMQP types.