summaryrefslogtreecommitdiff
path: root/trunk/CIAO/ciao/Deployment_NodeManager.idl
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/CIAO/ciao/Deployment_NodeManager.idl')
-rw-r--r--trunk/CIAO/ciao/Deployment_NodeManager.idl58
1 files changed, 58 insertions, 0 deletions
diff --git a/trunk/CIAO/ciao/Deployment_NodeManager.idl b/trunk/CIAO/ciao/Deployment_NodeManager.idl
new file mode 100644
index 00000000000..e6672764115
--- /dev/null
+++ b/trunk/CIAO/ciao/Deployment_NodeManager.idl
@@ -0,0 +1,58 @@
+// $Id$
+#ifndef NODEMANAGER_IDL
+#define NODEMANAGER_IDL
+
+#include "ciao/Deployment.idl"
+#include "ciao/Deployment_Core.idl"
+#include "ciao/Deployment_TargetManager.idl"
+
+module Deployment {
+
+ interface Logger {
+ };
+
+ interface NodeApplicationManager;
+
+ interface NodeManager {
+ /*
+ * @todo 06-02-01 mentions a 4th argument:in long updateInterval
+ */
+ void joinDomain (in Domain ciao_domain,
+ in TargetManager manager,
+ in Logger log);
+
+ void leaveDomain ();
+
+ /*
+ * @todo According to 06-02-01 there should also be a ResourceCommitmentManager
+ * as second argument
+ */
+ NodeApplicationManager preparePlan (in DeploymentPlan plan)
+ raises (StartError, PlanError);
+
+ /*
+ * @todo According to 06-02-01 InvalidReference shouldn't be here
+ */
+ void destroyManager (in NodeApplicationManager appManager)
+ raises (StopError, InvalidReference);
+
+ /// CIAO specific extension
+ /// Destroy the NAM and all the associated NAs with this child_plan
+ /// We can guarantee that the input DeploymentPlan is valid, since it
+ /// is fetched from the cached DeploymentPlan of DAM, which has been
+ /// validated before.
+ void destroyPlan (in DeploymentPlan plan)
+ raises (StopError);
+
+ /// CIAO specific extension
+ /// Get all the shared components installed in this node
+ ComponentPlans get_shared_components ();
+
+ /*
+ * @todo According to 06-02-01 missing is:
+ * Resources getDynamicResources ();
+ */
+ };
+};
+
+#endif /* NODEMANAGER_IDL */