1
// File: SendingContext.idl
2
// CORBA 2.3, Chapter 5
4
#ifndef _SENDING_CONTEXT_IDL_
5
#define _SENDING_CONTEXT_IDL_
9
module SendingContext {
11
interface RunTime {}; // so that we can provide more
12
// sending context run time
13
// services in the future
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;
20
// Operation to obtain the IR from the sending context
21
CORBA::Repository get_ir();
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);
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);
34
// To obtain a type graph for a value type
35
// same comment as before the IR can provide similar
37
CORBA::RepositoryIdSeq bases( in CORBA::RepositoryId x);
40
#endif // _SENDING_CONTEXT_IDL_
1
// File: SendingContext.idl
2
// CORBA 2.5.1, Chapter 5
4
#ifndef _SENDING_CONTEXT_IDL_
5
#define _SENDING_CONTEXT_IDL_
7
#ifdef _PRE_3_0_COMPILER_
9
#pragma prefix "omg.org"
12
#endif // _PRE_3_0_COMPILER_
14
module SendingContext {
16
#ifndef _PRE_3_0_COMPILER_
17
typeprefix SendingContext "omg.org";
18
#endif // _PRE_3_0_COMPILER_
20
interface RunTime {}; // so that we can provide more
21
// sending context run time
22
// services in the future
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;
29
// Operation to obtain the IR from the sending context
30
CORBA::Repository get_ir();
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);
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);
43
// To obtain a type graph for a value type
44
// same comment as before the IR can provide similar
46
CORBA::RepositoryIdSeq bases( in CORBA::RepositoryId x);
49
#endif // _SENDING_CONTEXT_IDL_