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