コード例 #1
0
ファイル: subscriber.py プロジェクト: timstaley/Comet
 def connectionLost(self, *args):
     # Don't leave the reactor in an unclean state when we exit.
     self.setTimeout(None)
     return EventHandler.connectionLost(self, *args)
コード例 #2
0
 def connectionLost(self, *args):
     # Don't leave the reactor in an unclean state when we exit.
     self.setTimeout(None)
     return EventHandler.connectionLost(self, *args)
コード例 #3
0
ファイル: subscriber.py プロジェクト: timstaley/Comet
 def connectionMade(self, *args):
     self.setTimeout(self.ALIVE_INTERVAL)
     return EventHandler.connectionMade(self, *args)
コード例 #4
0
 def connectionMade(self, *args):
     self.setTimeout(self.ALIVE_INTERVAL)
     return EventHandler.connectionMade(self, *args)