Ejemplo n.º 1
0
 def __init__(self, nameServiceArgs):
     """
     Attach to the Naming Service at the supplied host and port number. An
     exception is thrown if this cannot be accomplished (probably the naming
     service is not running).
     """
     self.__nsroot = nameService()
     return
Ejemplo n.º 2
0
 def __init__(self, nameServiceArgs):
     """
     Attach to the Naming Service at the supplied host and port number. An
     exception is thrown if this cannot be accomplished (probably the naming
     service is not running).
     """
     self.__nsroot = nameService()
     return
Ejemplo n.º 3
0
  def __init__(self, corba_object, nameServerName=''):
    # get reference to name service
    ns_obj = nameService()

    if (ns_obj is None):
      print "name service bad resolve"
      return
    
    self.top = ns_obj._narrow(CosNaming.NamingContext)
    self.path = [('',self.top)]    # keep track of where we are
    self.pathcopy = []
Ejemplo n.º 4
0
  def __init__(self, corba_object, nameServerName=''):
    # get reference to name service
    ns_obj = nameService()

    if (ns_obj is None):
      print "name service bad resolve"
      return
    
    self.top = ns_obj._narrow(CosNaming.NamingContext)
    self.path = [('',self.top)]    # keep track of where we are
    self.pathcopy = []