def on_connection_unblocked(self, method_frame):
        """When RabbitMQ indicates the connection is unblocked, set the state
        appropriately.

        :param pika.amqp_object.Method method_frame: Unblocked method frame

        """
        LOGGER.debug('Connection unblocked: %r', method_frame)
        self.state = self.STATE_READY
        if self.on_ready:
            self.on_ready(self)
When RabbitMQ indicates the connection is unblocked, set the state
        appropriately.

        :param pika.amqp_object.Method method_frame: Unblocked method frame