예제 #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)
예제 #2
0
파일: rabbitmq.py 프로젝트: mailgun/udplog
 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)
예제 #3
0
 def connectionLost(self, reason):
     log.debug("connection lost %s" % reason)
     AMQClient.connectionLost(self, reason)
     self.factory.onConnectionLost(reason)
예제 #4
0
파일: base.py 프로젝트: euan/richmond
 def connectionLost(self, *args, **kwargs):
     AMQClient.connectionLost(self, *args, **kwargs)
     self.factory.onConnectionLost.callback(self)
예제 #5
0
 def connectionLost(self, reason):
     AMQClient.connectionLost(self, reason)
     self.connected = 0
     self.factory.delConnection(self)
예제 #6
0
 def connectionLost(self, reason):
     log.debug("connection lost %s" % reason)
     AMQClient.connectionLost(self, reason)
     self.factory.onConnectionLost(reason)
예제 #7
0
 def connectionLost(self, failure):
     AMQClient.connectionLost(self, failure)
     self.factory.lostConnection(failure)
예제 #8
0
 def connectionLost(self, failure):
     AMQClient.connectionLost(self, failure)
     self.factory.lostConnection(failure)