code: def get_broks(self, broker_name):
          
          logger.debug("Broker %s requests my broks list", broker_name)
          res = []
          if not broker_name:
              return res
  
          for broker_link in list(self.brokers.values()):
              if broker_name == broker_link.name:
                  for brok in sorted(broker_link.broks, key=lambda x: x.creation_time):
                      # Only provide broks that did not yet sent to our external modules
                      if getattr(brok, 'sent_to_externals', False):
                          res.append(brok)
                          brok.got = True
                  broker_link.broks = [b for b in broker_link.broks if not getattr(b, 'got', False)]
                  logger.debug("Providing %d broks to %s", len(res), broker_name)
                  break
          else:
              logger.warning("Got a brok request from an unknown broker: %s", broker_name)
  
          return res
docs: Send broks to a specific broker
  
          :param broker_name: broker name to send broks
          :type broker_name: str
          :greturn: dict of brok for this broker
          :rtype: dict[alignak.brok.Brok]