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

Author:
Ed Desmond
Version:
2.0


Operation index.

  • 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
  • Type index.

  • seqString
  • Exception index.

  • NotFound
  • Reject
  • Operations.

  • BindContext

      void BindContext(in string objectName,
          in string contextName);
    Gind a object name to a context This function has not been implemented

  • BindName

      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

  • getContext

      long getContext(in string objectName,
          out string contextName);

  • getObjectList

      void getObjectList(out any objectNameList);
    Get list of registered object names

  • rebind

      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

  • ResolveName

      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

  • unBind

      void unBind(in string objectName)
        raises(NotFound);
    Remove an object reference from the nameserver
    Raises:
    NotFound - exception thown if the object is not registered

    Types.

  • seqString

      typedef sequence<string> seqString;
    

    Exceptions.

  • NotFound

      exception NotFound {
        string reason; 
      }; 
    

  • Reject

      exception Reject {
        string reason; 
      }; 
    


    Generated by Sandia idldoc 1.0.