<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _on_channel_open(self, channel):
 """ Callback used when a channel is opened. This registers all the channel callbacks. Args: channel (pika.channel.Channel):
 The channel that successfully opened. """

        channel.add_on_close_callback(self._on_channel_close)
        channel.add_on_cancel_callback(self._on_cancel)

        channel.basic_qos(callback=self._on_qosok, **config.conf["qos"])