Exemple #1
0
 def close(self, reason):
     """The AMQClient protocol calls this as a result of a
     connectionLost event. The TwistedDelegate.close method finishes
     shutting off the client, and we get a chance to react to the event
     here.
     """
     TwistedDelegate.close(self, reason)
     log.err("AMQP Client Connection Closed")
     log.err(reason)
Exemple #2
0
 def close(self, reason):
     TwistedDelegate.close(self, reason)
     self._fireDisconnected(reason)
Exemple #3
0
 def close(self, reason):
     """
     We can do things here when the connection closes
     """
     #print "CLOSE"
     return TwistedDelegate.close(self, reason)