Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ updateObjectAsync()

virtual void IceGrid::AsyncAdmin::updateObjectAsync ( std::optional< Ice::ObjectPrx > obj,
std::function< void()> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

Updates an object in the object registry.

Only objects added with this interface can be updated with this operation. Objects added with deployment descriptors should be updated with the deployment mechanism.

Parameters
objA proxy to the object. This proxy is never null.
responseThe response callback.
exceptionThe exception callback.
currentThe Current object of the incoming request.
Exceptions
IceGrid::DeploymentExceptionThrown when the object can't be updated.
IceGrid::ObjectNotRegisteredExceptionThrown when the object isn't registered with the registry.