summaryrefslogtreecommitdiff
path: root/CIAO/ciao/TargetManager.idl
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/ciao/TargetManager.idl')
-rw-r--r--CIAO/ciao/TargetManager.idl36
1 files changed, 36 insertions, 0 deletions
diff --git a/CIAO/ciao/TargetManager.idl b/CIAO/ciao/TargetManager.idl
new file mode 100644
index 00000000000..e604a237161
--- /dev/null
+++ b/CIAO/ciao/TargetManager.idl
@@ -0,0 +1,36 @@
+// $Id$
+
+#ifndef TARGETMANAGER_IDL
+#define TARGETMANAGER_IDL
+
+#include "Target_Data.idl"
+#include "Deployment_TargetData.idl"
+
+module Deployment {
+
+ enum DomainUpdateKind {
+ Add,
+ Delete,
+ UpdateAll,
+ UpdateAvailable
+ };
+
+ /**
+ * @todo The ResourceCommitmentManager is part of 06-04-01 and this is not
+ * part of the Target Manager yet
+ */
+ interface TargetManager {
+ Domain getAllResources ();
+ Domain getAvailableResources ();
+ /// @todo 06-04-01 specifies this differently
+ void commitResources (in DeploymentPlan plan)
+ raises (ResourceNotAvailable, PlanError);
+ /// @todo This is not part of 06-04-01
+ void releaseResources (in DeploymentPlan argname);
+ void updateDomain (in ::CORBA::StringSeq elements,
+ in Domain domainSubset,
+ in DomainUpdateKind updateKind);
+ };
+};
+
+#endif /* TARGETMANAGER_IDL */