cz.cuni.amis.pogamut.ut2004.communication.messages.custom
Class ControlMessageMapper<T extends ICustomControlMessage>
java.lang.Object
cz.cuni.amis.pogamut.ut2004.communication.messages.custom.ControlMessageMapper<T>
- Type Parameters:
T
-
public class ControlMessageMapper<T extends ICustomControlMessage>
- extends Object
Reads definition of ICustomControlMessage
implementation interpreting ControlMessageType
, ControlMessageField
and ControlMessageSimType
.
and provides deserialize(ControlMessage)
method for auto-mapping of ControlMessage
onto custom ICustomControlMessage
.
- Author:
- Jimmy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getterIntegers
public static final ControlMessageMapper.ControlMessageGetter<Integer>[] getterIntegers
getterDoubles
public static final ControlMessageMapper.ControlMessageGetter<Double>[] getterDoubles
getterStrings
public static final ControlMessageMapper.ControlMessageGetter<Double>[] getterStrings
getterBooleans
public static final ControlMessageMapper.ControlMessageGetter<Double>[] getterBooleans
ControlMessageMapper
public ControlMessageMapper(Class<T> customControlMessageClass)
getDescriptor
public Class<T> getDescriptor()
getType
public String getType()
deserialize
public T deserialize(ControlMessage message)
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.