T
- the message typepublic abstract class MessageReader<T extends java.lang.Enum<T>> extends java.lang.Object
EnumMap
to generate and read the according
Message
object when a message is send over the stream.Constructor and Description |
---|
MessageReader(java.lang.Class<T> typeClass) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
fillList() |
protected java.util.Map<T,java.lang.Class<? extends Message<T>>> |
getMessages() |
Message |
read(java.io.DataInputStream in) |
public MessageReader(java.lang.Class<T> typeClass)