Ice 3.8
Slice API Reference
Loading...
Searching...
No Matches

◆ isServerEnabled()

["cpp:const"]
idempotent bool isServerEnabled ( string id) throws ServerNotExistException, NodeUnreachableException, DeploymentException

Checks if the server is enabled or disabled.

Parameters
idThe server ID.
Returns
true if the server is enabled, false otherwise.
Exceptions
ServerNotExistExceptionThrown when the server doesn't exist.
NodeUnreachableExceptionThrown when the node is unreachable.
DeploymentExceptionThrown when the deployment of the server failed.