OSF DCE Application Development Guide--Core Components
RPC and Other DCE Components
— A group corresponding to the requested RPC interface
— A profile
• Priority value
The priority value (0 is the highest priority; 7 is the lowest priority) is designated by
the creator of a profile element to help determine the order for using the element
NSI search operations to select among like-priority elements at random.
• Annotation string
The annotation string enables you to identify the purpose of the profile element.
The annotation can be any textual information; for example, an interface name
associated with the interface identifier or a description of a service or resource
associated with a group.
Unlike the interface identifier field, the annotation string is not a search key.
Optionally, a profile can contain one default profile element. A default profile element
is the element that an NSI search operation uses when a search using the other elements
of a profile finds no compatible binding information; for example, when the current
profile lacks any element corresponding to the requested interface. A default profile
element contains the nil interface identifier, a priority of 0, the entry name of a default
profile, and an optional annotation.
A default profile is a backup profile, referred to by a default profile element in another
profile. A profile designated as a default profile should be a comprehensive profile
maintained by an administrator for a major set of users, such as the members of an
organization or the owners of computer accounts on a local area network (LAN).
A default profile must not create circular dependencies between profiles; for example,
when a public profile refers to an application’s profile, the application’s profile must not
specify that public profile as a default profile.
Figure 14-11 shows an example of the kinds of elements a profile can contain and how
those elements correspond to database entries.
Figure 14-11. Possible Mappings of a Profile
124245 Tandem Computers Incorporated 14− 21