public interface EventWrapper
Modifier and Type | Method and Description |
---|---|
Event |
unwrap(MendelMessage msg)
Unwraps a
MendelMessage to extract the Event it
contains. |
MendelMessage |
wrap(Event e)
Wraps an
Event up in a MendelMessage , ready to be
transmitted across the network. |
MendelMessage wrap(Event e) throws java.io.IOException
Event
up in a MendelMessage
, ready to be
transmitted across the network.java.io.IOException
Event unwrap(MendelMessage msg) throws java.io.IOException, SerializationException
MendelMessage
to extract the Event
it
contains.java.io.IOException
SerializationException