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