1CosNaming_NamingContextExt(3E)rlang Module DefinitioCnosNaming_NamingContextExt(3)
2
3
4

NAME

6       CosNaming_NamingContextExt - This interface contains operation for con‐
7       verting a Name sequence to a string and back.
8

DESCRIPTION

10       To get access to the record definitions for the structures use:
11
12
13       -include_lib("orber/COSS/CosNaming/CosNaming.hrl").
14
15
16       This module also exports the functions described in:
17
18         * CosNaming_NamingContext
19

EXPORTS

21       to_string(NamingContext, Name) -> Return
22
23              Types:
24
25                 NameContext = #objref
26                 Name = [NameComponent]
27                 Return =  string()  |  {'EXCEPTION',  NamingContext::Invalid‐
28                 Name{}}
29
30              Stringifies a Name sequence to a string.
31
32       to_name(NamingContext, NameString) -> Return
33
34              Types:
35
36                 NameContext = #objref
37                 NameString = string()
38                 Return  =  [NameComponent] | {'EXCEPTION', NamingContext::In‐
39                 validName{}}
40
41              Converts a stringified Name to a Name sequence.
42
43       to_url(NamingContext, AddressString, NameString) -> Return
44
45              Types:
46
47                 NameContext = #objref
48                 Address = NameString = string()
49                 Return = URLString  |  {'EXCEPTION',  NamingContext::Invalid‐
50                 Name{}} | {'EXCEPTION', NamingContextExt::InvalidAddress{}}
51
52              This  operation  takes  a corbaloc string and a stringified Name
53              sequence as input and returns a fully formed URL string.
54
55       resolve_str(NamingContext, NameString) -> Return
56
57              Types:
58
59                 NameContext = #objref
60                 NameString = string()
61                 Return  =  #objref  |  {'EXCEPTION',  NamingContext::Invalid‐
62                 Name{}}    |    {'EXCEPTION',    NamingContext::NotFound{why,
63                 rest_of_name}}  |   {'EXCEPTION',   NamingContext::CannotPro‐
64                 ceed{cxt, rest_of_name}}
65
66              This  operation  takes  a stringified Name sequence as input and
67              returns the associated, if any, object.
68
69
70
71Ericsson AB                       orber 5.0.2    CosNaming_NamingContextExt(3)
Impressum