This method returns the time (in milliseconds) that the client should delay before connecting to the given server URI.
The URI of the server.
the time (in milliseconds) that the client should delay.
This method resets the state of this reconnect delay. AMPS calls this method when a connection is established.
This is the interface for classes that represent a delay strategy. DelayStrategy objects are used by the client in order to determine a delay period between reconnection attempts. AMPS provides FixedDelayStrategy and ExponentialDelayStrategy classes that implement basic functionality to calculate delay intervals with fixed or exponentially growing values.