~ubuntu-branches/ubuntu/breezy/orbit2/breezy

« back to all changes in this revision

Viewing changes to src/idl/interop/SendingContext.idl

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-09-06 16:37:02 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050906163702-hrqi0ctymth53bnn
Tags: 1:2.12.4-0ubuntu1
* New upstream version.
* debian/patches/100-compile-name-server.patch:
  - updated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// File: SendingContext.idl
2
 
// CORBA 2.3, Chapter 5
3
 
 
4
 
#ifndef _SENDING_CONTEXT_IDL_
5
 
#define _SENDING_CONTEXT_IDL_
6
 
 
7
 
#include <orb.idl>
8
 
 
9
 
module SendingContext {
10
 
 
11
 
    interface RunTime {}; // so that we can provide more 
12
 
                          // sending context run time
13
 
                          // services in the future
14
 
 
15
 
    interface CodeBase: RunTime {
16
 
        typedef string          URL; // blank-separated list of one or more URLs
17
 
        typedef sequence<URL>   URLSeq;
18
 
        typedef sequence<CORBA::ValueDef::FullValueDescription> ValueDescSeq;
19
 
 
20
 
        // Operation to obtain the IR from the sending context 
21
 
        CORBA::Repository get_ir();
22
 
 
23
 
        // Operations to obtain a location of the implementation code
24
 
        URL     implementation(             in CORBA::RepositoryId    x);
25
 
        URL     implementationx(            in CORBA::RepositoryId    x);
26
 
        URLSeq  implementations(            in CORBA::RepositoryIdSeq x);
27
 
 
28
 
        // Operations to obtain complete meta information about a Value 
29
 
        // This is just a performance optimization the IR can provide
30
 
        // the same information
31
 
        CORBA::ValueDef::FullValueDescription meta( in CORBA::RepositoryId    x);
32
 
        ValueDescSeq                          metas(in CORBA::RepositoryIdSeq x);
33
 
 
34
 
        // To obtain a type graph for a value type
35
 
        // same comment as before the IR can provide similar
36
 
        // information
37
 
        CORBA::RepositoryIdSeq      bases(  in CORBA::RepositoryId x);    
38
 
    };
39
 
};
40
 
#endif // _SENDING_CONTEXT_IDL_
 
1
// File: SendingContext.idl
 
2
// CORBA 2.5.1, Chapter 5
 
3
 
 
4
#ifndef _SENDING_CONTEXT_IDL_
 
5
#define _SENDING_CONTEXT_IDL_
 
6
 
 
7
#ifdef _PRE_3_0_COMPILER_ 
 
8
#include <orb.idl>
 
9
#pragma prefix "omg.org"
 
10
#else
 
11
import ::CORBA;
 
12
#endif // _PRE_3_0_COMPILER_
 
13
 
 
14
module SendingContext {
 
15
 
 
16
#ifndef _PRE_3_0_COMPILER_ 
 
17
    typeprefix SendingContext "omg.org";
 
18
#endif // _PRE_3_0_COMPILER_
 
19
 
 
20
    interface RunTime {}; // so that we can provide more 
 
21
                          // sending context run time
 
22
                          // services in the future
 
23
 
 
24
    interface CodeBase: RunTime {
 
25
        typedef string          URL; // blank-separated list of one or more URLs
 
26
        typedef sequence<URL>   URLSeq;
 
27
        typedef sequence<CORBA::ValueDef::FullValueDescription> ValueDescSeq;
 
28
 
 
29
        // Operation to obtain the IR from the sending context 
 
30
        CORBA::Repository get_ir();
 
31
 
 
32
        // Operations to obtain a location of the implementation code
 
33
        URL     implementation(             in CORBA::RepositoryId    x);
 
34
        URL     implementationx(            in CORBA::RepositoryId    x);
 
35
        URLSeq  implementations(            in CORBA::RepositoryIdSeq x);
 
36
 
 
37
        // Operations to obtain complete meta information about a Value 
 
38
        // This is just a performance optimization the IR can provide
 
39
        // the same information
 
40
        CORBA::ValueDef::FullValueDescription meta( in CORBA::RepositoryId    x);
 
41
        ValueDescSeq                          metas(in CORBA::RepositoryIdSeq x);
 
42
 
 
43
        // To obtain a type graph for a value type
 
44
        // same comment as before the IR can provide similar
 
45
        // information
 
46
        CORBA::RepositoryIdSeq      bases(  in CORBA::RepositoryId x);    
 
47
    };
 
48
};
 
49
#endif // _SENDING_CONTEXT_IDL_