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

◆ allocateObjectByTypeAsync() [1/2]

std::future< std::optional< Ice::ObjectPrx > > IceGrid::SessionPrx::allocateObjectByTypeAsync ( std::string_view type,
const Ice::Context & context = Ice::noExplicitContext ) const
nodiscard

Allocates an object with the given type.

Parameters
typeThe type of the object.
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