summaryrefslogtreecommitdiff
path: root/CIAO/ccm/Session/CCM_Session2Context.idl
blob: fc20f73e831842a829e249ee850babf4710b39a4 (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
/// Compliant with OMG 06-04-01 Section 9.4.2.1

#if !defined (CCM_SESSION2CONTEXT_IDL)
#define CCM_SESSION2CONTEXT_IDL

#include "ccm/CCM_CCM2Context.idl"
#include "ccm/CCM_SessionContext.idl"
#include "ccm/CCM_BadComponentReference.idl"
#include "tao/OctetSeq.pidl"

// *************** Extended Container Interfaces ***************

#if !defined (CCM_LW)

module Components
{
  typeprefix Components "omg.org";

  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

#endif /* CCM_SESSION2CONTEXT_IDL */