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

◆ addObjectWithTypeAsync()

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

Adds an object to the object registry and explicitly specifies its type.

Parameters
objThe object to be added to the registry. The proxy is never null.
typeThe type name.
responseThe response callback.
exceptionThe exception callback.
currentThe Current object of the incoming request.
Exceptions
IceGrid::DeploymentExceptionThrown when the application deployment failed.
IceGrid::ObjectExistsExceptionThrown when the object is already registered.