cz.cuni.amis.pogamut.base.communication.translator.event
Class WorldEventIdentityWrapper

Package class diagram package WorldEventIdentityWrapper
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.translator.event.WorldEventIdentityWrapper
All Implemented Interfaces:
IWorldChangeEvent, IWorldEventWrapper, IWorldEvent, cz.cuni.amis.utils.listener.Event

public abstract class WorldEventIdentityWrapper
extends Object
implements IWorldEventWrapper, IWorldEvent

Simplest WorldChangeEvent to WorldEvent adapter. // TODO better name

Author:
ik

Constructor Summary
WorldEventIdentityWrapper()
           
 
Method Summary
abstract  long getSimTime()
          Time when the change has happened inside the environment.
 IWorldEvent getWorldEvent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorldEventIdentityWrapper

public WorldEventIdentityWrapper()
Method Detail

getWorldEvent

public IWorldEvent getWorldEvent()
Specified by:
getWorldEvent in interface IWorldEventWrapper
Returns:
WorldEvent transported (wrapped) by this class

getSimTime

public abstract long getSimTime()
Description copied from interface: IWorldChangeEvent
Time when the change has happened inside the environment.

Specified by:
getSimTime in interface IWorldChangeEvent
Specified by:
getSimTime in interface IWorldEvent
Returns:
timestamp


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