Ejemplo n.º 1
0
 def connectionLost(self, reason):
     """
     Fail the waiting Deferred, initialized by C{waitForDescriptor}, if there
     is one.
     """
     ConnectableProtocol.connectionLost(self, reason)
     if self.waiting is not None:
         self.waiting.errback(reason)
         self.waiting = None
     self.reason = reason
Ejemplo n.º 2
0
 def connectionLost(self, reason):
     """
     Fail the waiting Deferred, initialized by C{waitForDescriptor}, if there
     is one.
     """
     ConnectableProtocol.connectionLost(self, reason)
     if self.waiting is not None:
         self.waiting.errback(reason)
         self.waiting = None
     self.reason = reason
Ejemplo n.º 3
0
 def connectionLost(self, reason):
     ConnectableProtocol.connectionLost(self, reason)
     self.reason = reason
Ejemplo n.º 4
0
 def connectionLost(self, reason):
     ConnectableProtocol.connectionLost(self, reason)
     self.reason = reason