Exemple #1
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)
Exemple #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)
Exemple #3
0
 def connectionMade(self, *args):
     self.setTimeout(self.ALIVE_INTERVAL)
     return EventHandler.connectionMade(self, *args)
Exemple #4
0
 def connectionMade(self, *args):
     self.setTimeout(self.ALIVE_INTERVAL)
     return EventHandler.connectionMade(self, *args)