std::optional< Ice::ObjectPrx > IceGrid::SessionPrx::allocateObjectByType | ( | std::string_view | type, |
const Ice::Context & | context = Ice::noExplicitContext ) const |
Allocates an object with the given type.
type | The type of the object. |
context | The request context. |
IceGrid::AllocationException | Thrown when the allocation fails. |