code: def send(self, msg, stat=None) -> None:
          
          self.logger.trace("{} sending {}".format(self, msg.__class__.__name__),
                            extra={"cli": True, "tags": ['sending']})
          self.logger.trace("{} sending {}".format(self, msg))
          if stat:
              self.stats.inc(stat)
          self.outBox.append(msg)
docs: Send a message to the node on which this replica resides.
  
          :param stat:
          :param rid: remote id of one recipient (sends to all recipients if None)
          :param msg: the message to send