diff options
Diffstat (limited to 'modules/CIAO/ciao/Deployment_TargetManager.idl')
-rw-r--r-- | modules/CIAO/ciao/Deployment_TargetManager.idl | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/modules/CIAO/ciao/Deployment_TargetManager.idl b/modules/CIAO/ciao/Deployment_TargetManager.idl new file mode 100644 index 00000000000..78723ab3b3d --- /dev/null +++ b/modules/CIAO/ciao/Deployment_TargetManager.idl @@ -0,0 +1,40 @@ +// $Id$ + +#ifndef TARGETMANAGER_IDL +#define TARGETMANAGER_IDL + +#include "ciao/Deployment_Target_Data.idl" +#include "ciao/Deployment_TargetData.idl" +#include "ciao/Deployment_DeploymentPlan.idl" +// Only needed for ResourceNotAvailable but that should go, so this include also +#include "ciao/Deployment_ApplicationManager.idl" + +module Deployment { + + /// @todo, UpdateAvailable is not in the spec, must be UpdateDynamic + 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 */ |