Пример #1
0
 def __init__(self, parent='', UI=False):
     Borg.__init__(self)
     self.ui = UI
     if not hasattr(self, 'parent') and parent:
         self.parent = parent
         if self.ui:
             self.server = EtherServer(port=4801)
             self.server.start()
Пример #2
0
 def __init__(self):
     Borg.__init__(self)
Пример #3
0
 def __init__(self):
     Borg.__init__(self)
Пример #4
0
 def __init__(self):
     Borg.__init__(self)
     if not hasattr(self, 'links'):
         self.links = []
     if not hasattr(self, 'listeners'):
         self.listeners = []
Пример #5
0
 def __init__(self):
     Borg.__init__(self)
     if not hasattr(self, 'links'):
         self.links = []
     if not hasattr(self, 'listeners'):
         self.listeners = []