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

◆ removeObjectAsync()

virtual void IceGrid::AsyncAdmin::removeObjectAsync ( ::Ice::Identity id,
std::function< void()> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

Removes an object from the object registry.

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

Parameters
idThe identity of the object to remove.
responseThe response callback.
exceptionThe exception callback.
currentThe Current object of the incoming request.
Exceptions
IceGrid::DeploymentExceptionThrown when the object can't be removed.
IceGrid::ObjectNotRegisteredExceptionThrown when the object isn't registered with the registry.