summaryrefslogtreecommitdiff
path: root/CIAO/DAnCE/Deployment/Deployment_Connection.idl
blob: 0d6ac886ef16cf5e864929941049e1ca51ec4c00 (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
48
49
50
// $Id$

#if !defined (DEPLOYMENT_CONNECTION_IDL)
#define DEPLOYMENT_CONNECTION_IDL

#include "DAnCE/Deployment/Deployment_DeploymentPlan.idl"
#include <ciaosvcs/Events/CIAO_Events_Base/CIAO_Events.idl>

// *************** Packaging and Deployment ***************
module Deployment
{
  typedef sequence < Object > Endpoints;
  //typedef Object Endpoint;
  
  // @@changed
  // struct Connection
  //   {
  //     string name;
  //     Endpoints endpoint;
  //   };
  
  // CIAO's specific <Connection> type defition.
  // To avoid the connection info in the plan being passed to the
  // local node and to make the implementation not very cumbersome
  // I changed the connection struct to include some extra informations.
  struct Connection
  {
    string instanceName;
    string portName;
    CCMComponentPortKind kind;

    string endpointInstanceName; // CIAO specific extension
    string endpointPortName;     // CIAO specific extension

    // the endpoints member is change to endpoint.
    // Since we will not have more than 1 objref in there.
    Object endpoint;

    // A wrapper facade interface to provision different event
    // communication mechanisms, including RTEC, etc.
    CIAO::CIAO_Event_Service event_service;

    // The properties of this connection, particularly useful
    // to speicfy QoS properties of pub/sub service connections.
    Properties config;
  };

  typedef sequence < Connection > Connections;
};
#endif /* DEPLOYMENT_CONNECTION_IDL */