code: def _recv_close(self, method_frame):
          '''
          Receive a close command from the broker.
          '''
          self.channel._close_info = {
              'reply_code': method_frame.args.read_short(),
              'reply_text': method_frame.args.read_shortstr(),
              'class_id': method_frame.args.read_short(),
              'method_id': method_frame.args.read_short()
          }
  
          self.channel._closed = True
          self.channel._closed_cb(
              final_frame=MethodFrame(self.channel_id, 20, 41)f _recv_close(self, method_frame):
          '''
          Receive a close command from the broker.
          '''
          self.channel._close_info = {
              'reply_code': method_frame.args.read_short(),
              'reply_text': method_frame.args.read_shortstr(),
              'class_id': method_frame.args.read_short(),
              'method_id': method_frame.args.read_short()
          }
  
          self.channel._closed = True
          self.channel._closed_cb(
              final_frame=MethodFrame(self.channel_id, 20, 41))
docs: Receive a close command from the broker.