Esempio n. 1
0
 def __init__(self, string_transport, factory, reactor):
     self._string_transport = string_transport
     BaseConnector.__init__(self, factory, None, reactor)
Esempio n. 2
0
 def connect(self):
     self.connects += 1
     BaseConnector.connect(self)
Esempio n. 3
0
 def __init__(self, process, factory, timeout, reactor):
     if timeout:
         assert not reactor is None, "Need an reactor to use timeout."
     BaseConnector.__init__(self, factory, timeout, reactor)
     self.process = process
Esempio n. 4
0
 def __init__(self, string_transport, factory, reactor):
     self._string_transport = string_transport
     BaseConnector.__init__(self, factory, None, reactor)
Esempio n. 5
0
 def connect(self):
     self.connects += 1
     BaseConnector.connect(self)