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

◆ allocateObjectByIdAsync() [1/2]

std::future< std::optional< Ice::ObjectPrx > > IceGrid::SessionPrx::allocateObjectByIdAsync ( const ::Ice::Identity & id,
const Ice::Context & context = Ice::noExplicitContext ) const
nodiscard

Allocates an object.

Parameters
idThe identity of the object to allocate.
contextThe request context.
Returns
A future that becomes available when the invocation completes. This future holds:
  • A proxy to the allocated object. This proxy is never null.
See also
setAllocationTimeout
releaseObject