1CosNaming(3) Erlang Module Definition CosNaming(3)
2
3
4
6 CosNaming - The CosNaming service is a collection of interfaces that
7 together define the naming service.
8
10 The naming service provides the principal mechanism for clients to find
11 objects in an ORB based world. The naming service provides an initial
12 naming context that functions as the root context for all names. Given
13 this context clients can navigate in the name space.
14
15 Types that are declared on the CosNaming level are:
16
17 typedef string Istring;
18 struct NameComponent {
19 Istring id;
20 Istring kind;
21 };
22
23 typedef sequence <NameComponent> Name;
24
25 enum BindingType {nobject, ncontext};
26
27 struct Binding {
28 Name binding_name;
29 BindingType binding_type;
30 };
31
32 typedef sequence <Binding> BindingList;
33
34
35 To get access to the record definitions for the structs use:
36
37 -include_lib("orber/COSS/CosNaming.hrl").
38
39 Names are not an ORB object but the can be structured in components as
40 seen by the definition above. There are no requirements on names so the
41 service can support many different conventions and standards.
42
43 There are two different interfaces supported in the service:
44
45 * NamingContext
46
47 * BindingIterator
48
49Ericsson AB orber 5.0.1 CosNaming(3)