code: def _setup_rpc(self):
          
  
          endpoints = RpcCallBacks(self)
          self.server = rpc.DfaRpcServer(self.ser_q, self._host,
                                         self.cfg.dfa_rpc.transport_url,
                                         endpoints,
                                         exchange=constants.DFA_EXCHANGE)
docs: Setup RPC server for dfa server.