示例#1
0
    def __init__(self, owner, name, kind, address=None, params=None):
        """
        Initializes the component. The owner is the test that started the
        component. The logging will happen into it.

        The process is used as a name for the logging.
        """
        BaseComponent.__init__(self, owner, kind)
        self.__owner = owner
        self.__name = name
        self.log('init')
        self.log(kind)
        self._address = address
        self._params = params
示例#2
0
    def __init__(self, owner, name, kind, address=None, params=None):
        """
        Initializes the component. The owner is the test that started the
        component. The logging will happen into it.

        The process is used as a name for the logging.
        """
        BaseComponent.__init__(self, owner, kind)
        self.__owner = owner
        self.__name = name
        self.log('init')
        self.log(kind)
        self._address = address
        self._params = params
示例#3
0
 def __init__(self, name, b10_init, kind, address=None, params=None):
     BaseComponent.__init__(self, b10_init, kind)
示例#4
0
 def __init__(self, name, boss, kind, address=None, params=None):
     BaseComponent.__init__(self, boss, kind)
示例#5
0
 def __init__(self, process, b10_init, kind, address=None, params=None):
     BaseComponent.__init__(self, b10_init, kind)
     self.__creator = None
示例#6
0
 def __init__(self, process, boss, kind, address=None, params=None):
     BaseComponent.__init__(self, boss, kind)
     self.__creator = None
     self.__uid = boss.uid
     self.__gid = boss.gid