コード例 #1
0
ファイル: component_test.py プロジェクト: wyqbupt/bind10
    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
ファイル: component_test.py プロジェクト: dnslab/bind10
    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
ファイル: component_test.py プロジェクト: wyqbupt/bind10
 def __init__(self, name, b10_init, kind, address=None, params=None):
     BaseComponent.__init__(self, b10_init, kind)
コード例 #4
0
ファイル: component_test.py プロジェクト: dnslab/bind10
 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
ファイル: special_component.py プロジェクト: dnslab/bind10
 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