aboutsummaryrefslogtreecommitdiffstats
path: root/lib/orber/COSS/CosNaming/cos_naming_ext.idl
blob: 8099a0005cd3cc33dd03200ed80cc643c7a02d5c (plain) (blame)
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
// Naming Service v1.0 described in CORBAservices: 
// Common Object Services Specification, chapter 3
// OMG IDL for CosNaming Module, p 3-6

#ifndef _COSNAMINGEXT_IDL_ 
#define _COSNAMINGEXT_IDL_


#include<cos_naming.idl>

#pragma prefix "omg.org"

module CosNaming
{
  interface NamingContextExt:NamingContext { 
    
    typedef string StringName; 
    typedef string Address; 
    typedef string URLString;
    
    StringName to_string(in Name n)
      raises(InvalidName); 
    
    Name to_name(in StringName sn) 
      raises(InvalidName); 
    
    exception InvalidAddress{}; 
    
    URLString to_url(in Address addr,in StringName sn) 
      raises(InvalidAddress, InvalidName); 
    
    Object resolve_str(in StringName n) 
      raises(NotFound, CannotProceed, InvalidName); 
  }; 
}; 

#endif//_COSNAMINGEXT_IDL_