Ejemplo n.º 1
0
 def connectionLost(self, reason):
     """
     Remove this protocol as a consumer of log events.
     """
     self.chan = None
     self.dispatcher.unregister(self.producer.put)
     log.err(reason, "Connection lost")
     AMQClient.connectionLost(self, reason)
Ejemplo n.º 2
0
 def connectionLost(self, reason):
     """
     Remove this protocol as a consumer of log events.
     """
     self.chan = None
     self.dispatcher.unregister(self.producer.put)
     log.err(reason, "Connection lost")
     AMQClient.connectionLost(self, reason)
Ejemplo n.º 3
0
 def connectionLost(self, reason):
     log.debug("connection lost %s" % reason)
     AMQClient.connectionLost(self, reason)
     self.factory.onConnectionLost(reason)
Ejemplo n.º 4
0
 def connectionLost(self, *args, **kwargs):
     AMQClient.connectionLost(self, *args, **kwargs)
     self.factory.onConnectionLost.callback(self)
Ejemplo n.º 5
0
 def connectionLost(self, reason):
     AMQClient.connectionLost(self, reason)
     self.connected = 0
     self.factory.delConnection(self)
Ejemplo n.º 6
0
 def connectionLost(self, reason):
     log.debug("connection lost %s" % reason)
     AMQClient.connectionLost(self, reason)
     self.factory.onConnectionLost(reason)
Ejemplo n.º 7
0
 def connectionLost(self, failure):
     AMQClient.connectionLost(self, failure)
     self.factory.lostConnection(failure)
Ejemplo n.º 8
0
 def connectionLost(self, failure):
     AMQClient.connectionLost(self, failure)
     self.factory.lostConnection(failure)