code: def _send_one(self, stream, handle, target_id, name):
          
          if not stream:
              # We may not have a stream during shutdown.
              return
  
          data = str(target_id)
          if name:
              data = '%s:%s' % (target_id, name)
          stream.send(
              mitogen.core.Message(
                  handle=handle,
                  data=data.encode('utf-8'),
                  dst_id=stream.remote_id,
              )
          )
docs: Compose and send an update message on a stream.
  
          :param mitogen.core.Stream stream:
              Stream to send it on.
          :param int handle:
              :data:`mitogen.core.ADD_ROUTE` or :data:`mitogen.core.DEL_ROUTE`
          :param int target_id:
              ID of the connecting or disconnecting context.
          :param str name:
              Context name or :data:`None`.