def METHOD_NAME(self):
    """
    Send a message to indicate the end of all the messages.
    """
    if not self._sent_stop_message:
        self._sent_stop_message = True
        self.add_message_to_send(EventStopRequest())