protected function getEventMessage(Event $event)
    {
        $sanitizedText = $this->getSanitizedText($event);

        $message = sprintf(
            "_e{%d,%d}:%s|%s|d:%d|h:%s|t:%s",
            strlen($event->getTitle()),
            strlen($sanitizedText),
            $event->getTitle(),
            $sanitizedText,
            $event->getTimeStamp(),
            $event->getHost(),
            $event->getType()
        );

        return $message . $this->getFormattedTags($event);
    }
protected function getEventMessage(Event $event)
    {
        $sanitizedText = $this->getSanitizedText($event);

        $message = sprintf(
            "_e{%d,%d}:%s|%s|d:%d|h:%s|t:%s",
            strlen($event->getTitle()),
            strlen($sanitizedText),
            $event->getTitle(),
            $sanitizedText,
            $event->getTimeStamp(),
            $event->getHost(),
            $event->getType()
        );

        return $message . $this->getFormattedTags($event);
    }
protected function getEventMessage ( Event $ event ) { $ sanitizedText = $ this -> getSanitizedText ( $ event ) ; $ message = sprintf ( "_e{%d,%d}:%s|%s|d:%d|h:%s|t:%s" , strlen ( $ event -> getTitle ( ) ) , strlen ( $ sanitizedText ) , $ event -> getTitle ( ) , $ sanitizedText , $ event -> getTimeStamp ( ) , $ event -> getHost ( ) , $ event -> getType ( ) ) ; return $ message . $ this -> getFormattedTags ( $ event ) ; }
Builds the event udp message

@param Event $event

@return string
Builds the event udp message