Esempio 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
Esempio 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
Esempio 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 = []
Esempio 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 = []