コード例 #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
コード例 #2
0
ファイル: test_unix.py プロジェクト: BillAndersan/twisted
 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
コード例 #3
0
 def connectionLost(self, reason):
     ConnectableProtocol.connectionLost(self, reason)
     self.reason = reason
コード例 #4
0
ファイル: test_unix.py プロジェクト: BillAndersan/twisted
 def connectionLost(self, reason):
     ConnectableProtocol.connectionLost(self, reason)
     self.reason = reason