std::function< void()> IceGrid::SessionPrx::allocateObjectByIdAsync | ( | const ::Ice::Identity & | id, |
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.
id | The identity of the object to allocate. |
response | The response callback. It accepts:
|
exception | The exception callback. |
sent | The sent callback. |
context | The request context. |