summaryrefslogtreecommitdiff
path: root/modules/CIAO/ccm/ComponentServer/CCM_ComponentServer_Client.idl
blob: 8d5b0b02abd1bd181aa78ad8c6d9f2d85a02973e (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
37
38
39
40
41
42
43
44
45
46
47
/**
 * @file CCM_ComponentServer_Client.idl
 * Client side objects hosted by the NodeApplication.
 * $Id$
 */

#ifndef COMPONENTSERVER_CLIENT_IDL_
#define COMPONENTSERVER_CLIENT_IDL_

#include "ccm/ComponentServer/CCM_ComponentServer.idl"

module Components
{
  typeprefix Components "omg.org";

  module Deployment
  {
    interface ComponentInstallation
    {
      void install(in UUID implUUID, in Location component_loc)
        raises (InvalidLocation, InstallationFailure);

      void replace(in UUID implUUID, in Location component_loc)
        raises (InvalidLocation, InstallationFailure);

      void remove(in UUID implUUID)
        raises (UnknownImplId, RemoveFailure);

      Location get_implementation(in UUID implUUID)
        raises(UnknownImplId, InstallationFailure);
    };

    interface ServerActivator
    {
      ComponentServer create_component_server(in ConfigValues config)
        raises(::Components::CreateFailure,
               ::Components::Deployment::InvalidConfiguration);

      void remove_component_server(in ComponentServer server)
        raises(::Components::RemoveFailure);

      ComponentServers get_component_servers();
    };
  };
};

#endif