cz.cuni.amis.pogamut.ut2004.communication.messages.custom
Class BaseCustomControlMessage

Package class diagram package BaseCustomControlMessage
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.communication.messages.custom.BaseCustomControlMessage
All Implemented Interfaces:
IWorldChangeEvent, IWorldEvent, ICustomControlMessage, cz.cuni.amis.utils.listener.Event

public class BaseCustomControlMessage
extends Object
implements ICustomControlMessage

Can be used as ancestor for all ICustomControlMessage sparing you of the necessity of simTime declaration and IWorldEvent.getSimTime() / IWorldChangeEvent.getSimTime() implementation.

Note that both ControlMessageMapper and SendControlMessageMapper are using ClassUtils.getSubclasses(Class) and introspect the full class hierarchy of the ICustomControlMessage implementation handling all ControlMessageField, ControlMessageSimType annotated fields along the way.

Author:
Jimmy

Constructor Summary
BaseCustomControlMessage()
           
 
Method Summary
 long getSimTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseCustomControlMessage

public BaseCustomControlMessage()
Method Detail

getSimTime

public long getSimTime()
Specified by:
getSimTime in interface IWorldChangeEvent
Specified by:
getSimTime in interface IWorldEvent


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.