template<typename Prx, typename... Bases>
template<class Rep, class Period>
| Prx Ice::Proxy< Prx, Bases >::ice_invocationTimeout |
( |
const std::chrono::duration< Rep, Period > & | timeout | ) |
const |
|
inlinenodiscard |
Creates a proxy that is identical to this proxy, except for the invocation timeout.
- Parameters
-
| timeout | The new invocation timeout. Any negative duration means infinite and is normalized to -1 millisecond; a duration that is not a whole number of milliseconds is rounded up to the next whole number of milliseconds. |
- Returns
- A proxy with the new timeout.
- Exceptions
-
| std::invalid_argument | Thrown when timeout is greater than std::numeric_limits<std::int32_t>::max() milliseconds. |
Definition at line 166 of file Proxy.h.