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
type
The type of the object.
context
The 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
IceGrid::SessionPrx::setAllocationTimeout
IceGrid::SessionPrx::releaseObject
IceGrid
SessionPrx
Generated by
1.14.0