std::function< void()> IceGrid::AdminPrx::addObjectWithTypeAsync | ( | const std::optional< Ice::ObjectPrx > & | obj, |
std::string_view | type, | ||
std::function< void()> | response, | ||
std::function< void(std::exception_ptr)> | exception = nullptr, | ||
std::function< void(bool)> | sent = nullptr, | ||
const Ice::Context & | context = Ice::noExplicitContext ) const |
Adds an object to the object registry and explicitly specifies its type.
obj | The object to be added to the registry. The proxy is never null. |
type | The type name. |
response | The response callback. |
exception | The exception callback. |
sent | The sent callback. |
context | The request context. |