Interface EventSerializer
- All Known Implementing Classes:
EventSerializerImpl
public interface EventSerializer
Interface that models an event serializer.
-
Method Summary
Modifier and TypeMethodDescriptioneventToString
(Event<?> eventToSerialize) Serialize an event to string.
-
Method Details
-
eventToString
Serialize an event to string.- Parameters:
eventToSerialize
- the event to serialize.- Returns:
- the string corresponding to the event.
-