blob: 8fec0e9441c33e7c763562b3231e35aaf2892417 (
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$
/**
* @@ Compile this file with:
*
* tao_idl -Gv -I ../.. -I ../../orbsvcs/orbsvcs \
* -Wb,export_macro=CIAO_Export \
* -Wb,export_include=CIAO_export.h \
* -Wb,pre_include="ace/pre.h" \
* -Wb,post_include="ace/post.h" \
* CCM_Container_Ex.idl
*/
//#define CIAO_HAS_IMPORT_KEYWORD
#if !defined (CCM_SESSION2CONTEXT_IDL)
#define CCM_SESSION2CONTEXT_IDL
#include "ciao/CCM_CCM2Context.idl"
// *************** Extended Container Interfaces ***************
module Components
{
typeprefix Components "omg.org";
enum BadComponentReferenceReason
{
NON_LOCAL_REFERENCE,
NON_COMPONENT_REFERENCE,
WRONG_CONTAINER
};
exception BadComponentReference
{
BadComponentReferenceReason reason;
};
local interface Session2Context : SessionContext, CCM2Context
{
Object create_ref (in CORBA::RepositoryId repid);
Object create_ref_from_oid (in CORBA::OctetSeq oid,
in CORBA::RepositoryId repid);
CORBA::OctetSeq get_oid_from_ref (in Object objref)
raises (IllegalState,
BadComponentReference);
};
};
#endif /* CCM_SESSION2CONTEXT_IDL */
|