コード例 #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
ファイル: special_component.py プロジェクト: Absolight/bundy
 def __init__(self, process, bundy_init, kind, address=None, params=None):
     BaseComponent.__init__(self, bundy_init, kind)
     self.__creator = None
コード例 #3
0
 def __init__(self, name, bundy_init, kind, address=None, params=None):
     BaseComponent.__init__(self, bundy_init, kind)
コード例 #4
0
ファイル: special_component.py プロジェクト: zhangyut/bundy
 def __init__(self, process, bundy_init, kind, address=None, params=None):
     BaseComponent.__init__(self, bundy_init, kind)
     self.__creator = None