code: def _send_outgoing_route_refresh_msg(self, rr_msg):
          
          assert rr_msg.type == BGP_MSG_ROUTE_REFRESH
          self._protocol.send(rr_msg)
          LOG.debug('RouteRefresh %s>> %s',
                    self._neigh_conf.ip_address, rr_msg)
          # Collect update statistics for sent refresh request.
          if rr_msg.demarcation == 0:
              self.state.incr(PeerCounterNames.SENT_REFRESH)
          # If SOR is sent, we set Max. EOR timer if needed.
          elif (rr_msg.demarcation == 1 and
                self._common_conf.refresh_max_eor_time != 0):
              eor_timer = self._common_conf.refresh_max_eor_time
              # Set timer to send EOR demarcation.
              self._spawn_after('end-of-rib-timer', eor_timer,
                                self._enqueue_eor_msg, rr_msg)
              LOG.debug('Enhanced RR max. EOR timer set.')
docs: Sends given message `rr_msg` to peer.
  
          Parameters:
              - rr_msg: (RouteRefresh) route refresh message to send to peer.
  
          Update appropriate counters and set appropriate timers.