Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ setAllocationTimeoutAsync()

virtual void IceGrid::AsyncSession::setAllocationTimeoutAsync ( std::int32_t timeout,
std::function< void()> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

Sets the allocation timeout.

When no object is immediately available for an allocation request, the implementation of IceGrid::SessionPrx::allocateObjectById and IceGrid::SessionPrx::allocateObjectByType waits for the duration of this timeout.

Parameters
timeoutThe timeout in milliseconds.
responseThe response callback.
exceptionThe exception callback.
currentThe Current object of the incoming request.