std::function< void()> IceGrid::SessionPrx::allocateObjectByTypeAsync | ( | std::string_view | type, |
std::function< void(std::optional< Ice::ObjectPrx >)> | response, | ||
std::function< void(std::exception_ptr)> | exception = nullptr, | ||
std::function< void(bool)> | sent = nullptr, | ||
const Ice::Context & | context = Ice::noExplicitContext ) const |
Allocates an object with the given type.
type | The type of the object. |
response | The response callback. It accepts:
|
exception | The exception callback. |
sent | The sent callback. |
context | The request context. |