Servers can register objects with the name service, such as the Cell Directory Service (CDS). Such objects are termed named objects. When an interface is compiled, the IDL compiler generates an overloaded bind( ) operation that allows a client to bind to a named object in several ways. These include the following:
· Bind by an object's name
· Bind by an object's UUID
· Bind by a binding handle
An overloaded operation's argument list and functionality varies depending on which argument is used. The bind( ) operation of an interface is a static operation that returns a typed interface pointer. A zero is returned upon failure to locate and bind to the object.
More:
Binding to Named Objects By Name
Binding to Named Objects by UUID
Binding Explicitly to Known Objects