def __init__(self, parent_orb, execparams, poa):
# The CORBA name this object is registered under
self.naming_service_name = execparams['NAME_BINDING']
# The parent ORB for this object
self.parent_orb = parent_orb
# The CORBA portable object adapter
self.poa = poa
# The uuid assigned to this instance of the component
self.uuid = execparams['COMPONENT_IDENTIFIER']
# The storage of property values that don't have getters/setters
self.propertySet = {}
execparams_value = " ".join(["%s %s" % x for x in execparams.items()])
self.propertySet[getId("execparams")] = CF.DataType(id=getId("execparams"), value=omniORB.any.to_any(execparams_value))
# The PID of the child process
self._pid = None
self._log = logging.getLogger(self.naming_service_name)
######################################
# Implement the Resource interface
评论列表
文章目录