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:78
Base class for ReconnectDelayStrategy implementations.
Definition: ReconnectDelayStrategyImpl.hpp:47
ReconnectDelayStrategy is called by AMPS::HAClient to determine how long to wait between attempts to ...
Definition: ReconnectDelayStrategy.hpp:45
ReconnectDelayStrategyImpl * get(void)
Returns a pointer to the raw ReconnetDelayStrategyImpl this class is wrapping.
Definition: ReconnectDelayStrategy.hpp:96
ReconnectDelayStrategy()
Constructs a ReconnectDelayStrategy with a default implementation.
Definition: ReconnectDelayStrategy.hpp:51
ReconnectDelayStrategy(ReconnectDelayStrategyImpl *pImpl_)
Constructs a ReconnectDelayStrategy with a given implementation.
Definition: ReconnectDelayStrategy.hpp:61
void reset(void)
Reset the state of this reconnect delay.
Definition: ReconnectDelayStrategy.hpp:87
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