OSF DCE Application Development Guide--Core Components

OSF DCE Application Development Guide—Core Components
Elements matching both an interface identifier and object UUID
Administrators can manage the endpoint map by using dcecp with the endpoint object.
You can use the dced_server_disable_if() routine to mark as disabled all the endpoints
for a specific interface. This will prevent any new RPCs with partial bindings from
binding to the server for this interface, but not prevent clients from using the interface if
they already have a full binding with these endpoints. You can use the
dced_server_enable_if() routine to reenable previously disabled interfaces. In an
extreme situation, you could permanently remove endpoints directly from the local
endpoint map by calling the rpc_mgmt_ep_unregister() routine. This function cannot
be done remotely for security reasons.
2.4 Binding to dced’s Services
When you write a program that uses a host service, you begin by creating a dced binding
to the service on a particular host. Bindings are relationships between clients and servers
that allow them to communicate. A dced binding is a specific kind of binding that not
only gives your application a binding to the dced server but also associates the binding
with a specific host service on that server.
1
In general, an application follows these basic steps to use a host service:
1. Establish a binding to the service on the desired host. For example, your
application can establish a binding to the host data management service on another
host.
2. Obtain one or more dced entries for that service. For example, your application
can obtain the hostdata entry that identifies the host’s cell name, among other
things. This step is valid for the following services:
hostdata management
server management
key table management
Depending on the service and function desired, this step may or may not be
necessary. For example, the security validation service does not store data, so dced
maintains no entries for this service.
________________
1. Applications must establish a binding to each host service used. However, the endpoint mapper service uses a
different binding mechanism and API from the other host services. This is due to the fact that the endpoint mapper
service already existed within the very large RPC API in earlier versions of DCE, prior to the development of
dced.
24 Tandem Computers Incorporated 124245