Ejemplo n.º 1
0
 def __init__(self, reactor, ui):
     """
     Builds a network loop from a Twisted reactor and a Wx event handler.
     """
     BaseNetworkLoop.__init__(self, reactor, TwistedProxy(ui, reactor))
Ejemplo n.º 2
0
 def __init__(self, reactor, ui, testing=False):
     BaseNetworkLoop.__init__(self, reactor, TwistedProxy(ui, reactor), testing)
Ejemplo n.º 3
0
 def __init__(self, reactor, ui):
     """
     Builds a network loop from a Twisted reactor and a Wx event handler.
     """
     BaseNetworkLoop.__init__(self, reactor, UIProxy(ui))
     self.setDaemon(True)