| 1 | /* | 
|---|---|
| 2 | * IXExponentialBackoff.h | 
| 3 | * Author: Benjamin Sergeant | 
| 4 | * Copyright (c) 2017-2019 Machine Zone, Inc. All rights reserved. | 
| 5 | */ | 
| 6 | |
| 7 | #pragma once | 
| 8 | |
| 9 | #include <cstdint> | 
| 10 | |
| 11 | namespace ix | 
| 12 | { | 
| 13 | uint32_t calculateRetryWaitMilliseconds(uint32_t retryCount, | 
| 14 | uint32_t maxWaitBetweenReconnectionRetries, | 
| 15 | uint32_t minWaitBetweenReconnectionRetries); | 
| 16 | } // namespace ix | 
| 17 |