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

◆ instantiateServerAsync()

virtual void IceGrid::AsyncAdmin::instantiateServerAsync ( std::string application,
std::string node,
ServerInstanceDescriptor desc,
std::function< void()> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

Instantiates a server template.

Parameters
applicationThe application name.
nodeThe name of the node where the server will be deployed.
descThe descriptor of the server instance to deploy.
responseThe response callback.
exceptionThe exception callback.
currentThe Current object of the incoming request.
Exceptions
IceGrid::AccessDeniedExceptionThrown when the session doesn't hold the exclusive lock or when another session is holding the lock.
IceGrid::ApplicationNotExistExceptionThrown when the application doesn't exist.
IceGrid::DeploymentExceptionThrown when the application deployment failed.