Esempio 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)
Esempio 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)
Esempio n. 3
0
 def connectionLost(self, reason):
     log.debug("connection lost %s" % reason)
     AMQClient.connectionLost(self, reason)
     self.factory.onConnectionLost(reason)
Esempio n. 4
0
 def connectionLost(self, *args, **kwargs):
     AMQClient.connectionLost(self, *args, **kwargs)
     self.factory.onConnectionLost.callback(self)
Esempio n. 5
0
 def connectionLost(self, reason):
     AMQClient.connectionLost(self, reason)
     self.connected = 0
     self.factory.delConnection(self)
Esempio n. 6
0
 def connectionLost(self, reason):
     log.debug("connection lost %s" % reason)
     AMQClient.connectionLost(self, reason)
     self.factory.onConnectionLost(reason)
Esempio n. 7
0
 def connectionLost(self, failure):
     AMQClient.connectionLost(self, failure)
     self.factory.lostConnection(failure)
Esempio n. 8
0
 def connectionLost(self, failure):
     AMQClient.connectionLost(self, failure)
     self.factory.lostConnection(failure)