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