def _recv_flow(self, method_frame):
        self.channel._active = method_frame.args.read_bit()

        args = Writer()
        args.write_bit(self.channel.active)
        self.send_frame(MethodFrame(self.channel_id, 20, 21, args))

        if self._flow_control_cb is not None:
            self._flow_control_cb()
Receive a flow control command from the broker
dataset/ETHPy150Open agoragames/haigha/haigha/classes/channel_class.py/ChannelClass._recv_flow