1CosNaming_BindingIterator(3)Erlang Module DefinitionCosNaming_BindingIterator(3)
2
3
4
6 CosNaming_BindingIterator - This interface supports iteration over a
7 name binding list.
8
10 This interface allows a client to iterate over the Bindinglist it has
11 been initiated with.
12
13 The type NameComponent used below is defined as:
14
15 -record('CosNaming_NameComponent', {id, kind=""}).
16
17
18 id and kind are strings.
19
20 The type Binding used below is defined as:
21
22 -record('CosNaming_Binding', {binding_name, binding_type}).
23
24
25 binding_name is a Name = [NameComponent] and binding_type is an enum
26 which has the values nobject and ncontext.
27
28 Both these records are defined in the file CosNaming.hrl and it is
29 included with:
30
31 -include_lib("orber/COSS/CosNaming/CosNaming.hrl").
32
33
35 next_one(BindinIterator) -> Return
36
37 Types:
38
39 BindingIterator = #objref
40 Return = {bool(), Binding}
41
42 This operation returns the next binding and a boolean. The lat‐
43 ter is set to true if the binding is valid otherwise false. If
44 the boolean is false there are no more bindings to retrieve.
45
46 next_n(BindinIterator, HowMany) -> Return
47
48 Types:
49
50 BindingIterator = #objref
51 HowMany = int()
52 BindingList = [Binding]
53 Return = {bool(), BindingList}
54
55 This operation returns a binding list with at most HowMany bind‐
56 ings. If there are no more bindings it returns false otherwise
57 true.
58
59 destroy(BindingIterator) -> Return
60
61 Types:
62
63 BindingIterator = #objref
64 Return = ok
65
66 This operation destroys the binding iterator.
67
68
69
70Ericsson AB orber 5.0 CosNaming_BindingIterator(3)