summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/slice/IcePack/Admin.ice47
1 files changed, 39 insertions, 8 deletions
diff --git a/cpp/slice/IcePack/Admin.ice b/cpp/slice/IcePack/Admin.ice
index a3236a7af3d..364ea3c9bb3 100644
--- a/cpp/slice/IcePack/Admin.ice
+++ b/cpp/slice/IcePack/Admin.ice
@@ -278,13 +278,6 @@ struct ServerDescription
/**
*
- * The server activation mode.
- *
- **/
- ServerActivation activation;
-
- /**
- *
* The server path.
*
* @see args
@@ -478,7 +471,45 @@ class Admin
**/
nonmutating int getServerPid(string name)
throws ServerNotExistException;
-
+
+ /**
+ *
+ * Get the server activation mode.
+ *
+ * @param name Must match the name of [ServerDescription::name].
+ *
+ * @return The server activation mode.
+ *
+ * @throws ServerNotExistException Raised if the server is not
+ * found.
+ *
+ * @see getServerDescription
+ * @see getServerState
+ * @see getAllServerNames
+ *
+ **/
+ nonmutating ServerActivation getServerActivation(string name)
+ throws ServerNotExistException;
+
+ /**
+ *
+ * Set the server activation mode.
+ *
+ * @param name Must match the name of [ServerDescription::name].
+ *
+ * @return The server activation mode.
+ *
+ * @throws ServerNotExistException Raised if the server is not
+ * found.
+ *
+ * @see getServerDescription
+ * @see getServerState
+ * @see getAllServerNames
+ *
+ **/
+ void setServerActivation(string name, ServerActivation mode)
+ throws ServerNotExistException;
+
/**
*
* Start a server.