26 #ifndef _AMPS_RECONNECTDELAYSTRATEGY_HPP_ 27 #define _AMPS_RECONNECTDELAYSTRATEGY_HPP_ 30 #include <amps/ReconnectDelayStrategyImpl.hpp> 80 return _implPtr->getConnectWaitDuration(uri_);
98 return &(_implPtr.get());
101 AMPS::RefHandle<ReconnectDelayStrategyImpl> _implPtr;
ExponentialDelayStrategy is an implementation that exponentially "backs off" when reconnecting to the...
Definition: ReconnectDelayStrategyImpl.hpp:77
void reset(void)
Reset the state of this reconnect delay.
Definition: ReconnectDelayStrategy.hpp:87
Base class for ReconnectDelayStrategy implementations.
Definition: ReconnectDelayStrategyImpl.hpp:46
ReconnectDelayStrategy()
Constructs a ReconnectDelayStrategy with a default implementation.
Definition: ReconnectDelayStrategy.hpp:51
ReconnectDelayStrategy is called by AMPS::HAClient to determine how long to wait between attempts to ...
Definition: ReconnectDelayStrategy.hpp:44
unsigned int getConnectWaitDuration(const std::string &uri_)
Returns the time that the client should delay before connecting to the given server URI...
Definition: ReconnectDelayStrategy.hpp:78
ReconnectDelayStrategy(ReconnectDelayStrategyImpl *pImpl_)
Constructs a ReconnectDelayStrategy with a given implementation.
Definition: ReconnectDelayStrategy.hpp:61
Definition: ampsplusplus.hpp:102