Interface nameserv
IDL source Global index
interface nameserv
namesservice IDL
provides a nameing service. This service registers and provides
references to objects that are registered with the service. This
provides a platform independent means to locate ONCS objects and
services
- created: 7/31/96
-
- modified:
- Aug 18,1997; ejd01 ; add get name list
- Sep 18,1997; ejd02 ; add exceptions, rebind and unbind
- ; add persistence to references
- Author:
- Ed Desmond
- Version:
- 2.0
- BindContext
-
Bind an object name to a context
This function has not been implemented
- BindName
-
Create a ascii name string to Object Reference map in
the nameserver
- getContext
- getObjectList
-
Get list of registered object names
- rebind
-
Overwrites an existing object reference with the same name
- ResolveName
-
Gets an object reference for a specified object name
- unBind
-
Remove an object reference from the nameserver
- seqString
- NotFound
- Reject
void BindContext(in string objectName,
in string contextName);
-
Gind a object name to a context
This function has not been implemented
void BindName(in string objectName,
in Object objectRef)
raises(Reject);
-
Create a ascii name string to Object Reference map in
the nameserver
- Raises:
- Reject Exception - registration rejected if an object
by that name is already registered with the nameserver
long getContext(in string objectName,
out string contextName);
-
void getObjectList(out any objectNameList);
-
Get list of registered object names
void rebind(in string objectName,
in Object objectRef)
raises(NotFound);
-
Overwrites an existing object reference with the same name
- Raises:
- NotFound - exception if object name does not exist
long ResolveName(in string objectName,
out Object objectRef)
raises(NotFound);
-
Get an object reference for a specified object name
- Raises:
- NotFound - exception thown if the object name is not
registered
void unBind(in string objectName)
raises(NotFound);
-
Remove an object reference from the nameserver
- Raises:
- NotFound - exception thown if the object is not
registered
typedef sequence<string> seqString;
-
exception NotFound {
string reason;
};
-
exception Reject {
string reason;
};
-
Generated by Sandia idldoc 1.0.