OSF DCE Application Development Guide--Introduction and Style Guide
Using the DCE Name Service
UUIDs. The following figure illustrates this.
Figure 5-7. Separate Printer Name Entries
Endpoint
Mapper
Print
Server
A
Print
Server
B
Print
Server
C
Print
Server
D
............................................................................
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.............................................................................
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Servers’Machine
Printer
"Thorpe"
Printer
"Field"
Printer
"Ridler"
Printer
"Batey"
Printer
"Milford"
Printer
"Cotta"
Printer
"Tonson"
"Thorpe" "Field" "Batey" "Cotta"
Server A
binding,
"Thorpe"’s
object
UUID
Server B
binding,
"Field"’s
object
UUID
Server C
binding,
"Batey"’s
object
UUID
Server D
binding,
"Cotta"’s
object
UUID
Printer
"Murray"
"Murray" "Ridler" "Milford" "Tonson"
Server A
binding,
"Murray"’s
object
UUID
Server B
binding,
"Ridler"’s
object
UUID
Server C
binding,
"Milford"’s
object
UUID
Server D
binding,
"Tonson"’s
object
UUID
Entry names
Entry names
Partial bindings
Partial bindings
export
partial
bindings
export
partial
bindings
export
partial
bindings
Namespace
Now a client will be able to access a specific printer by importing a binding handle from
that printer’s name entry. The endpoint mapper at the target host would compare the
object UUID in the partial binding with the object UUIDs registered by the print servers,
and select an appropriate server. The server in turn would also use the object UUID to
select the correct printer for the request, if it managed more than one printer. A
namespace set up in this way with a separate entry that contains a unique object UUID
for each accessible service resource is called an object-oriented namespace.
5.9 An Object-Oriented Namespace
Object-specific entries are namespace entries that each contain binding information only
for one specific object or resource, as demonstrated in the last printer service shown in
the last previous figure. Object can mean any of several things, depending on what kind
of service the application’s servers are offering. Here are some examples.
124246 Tandem Computers Incorporated 5− 15










