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

◆ instantiateServer()

void IceGrid::AdminPrx::instantiateServer ( std::string_view application,
std::string_view node,
const ServerInstanceDescriptor & desc,
const Ice::Context & context = Ice::noExplicitContext ) const

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.
contextThe request context.
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.