def on_connection_open(self, unused_connection):

        self.lg("Connection opened", 6)
        self.m_status       = "CONNECTED"
        self.add_on_connection_close_callback()
        self.open_channel()

    # end of on_connection_open
This method is called by pika once the connection to RabbitMQ has
dataset/ETHPy150Open GetLevvel/message-simulator/src/rabbit_message_publisher.py/RabbitMessagePublisher.on_connection_open