summaryrefslogtreecommitdiff
path: root/CIAO/ciao/TargetManager.idl
blob: e604a23716140d764b251a6b0909ec4556f93036 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 */