cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class AliveMessageLocalImpl.AliveMessageLocalUpdate

Package class diagram package AliveMessageLocalImpl.AliveMessageLocalUpdate
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AliveMessageLocalImpl.AliveMessageLocalUpdate
All Implemented Interfaces:
IWorldChangeEvent, IWorldEvent, IWorldObjectEvent, ILocalWorldObjectUpdatedEvent, IGBWorldObjectEvent, cz.cuni.amis.utils.listener.Event
Enclosing class:
AliveMessageLocalImpl

public static class AliveMessageLocalImpl.AliveMessageLocalUpdate
extends Object
implements ILocalWorldObjectUpdatedEvent, IGBWorldObjectEvent


Field Summary
protected  AliveMessageLocal data
           
protected  long time
           
 
Constructor Summary
AliveMessageLocalImpl.AliveMessageLocalUpdate(AliveMessageLocal moverLocal, long time)
           
 
Method Summary
 WorldObjectId getId()
           
 IWorldObject getObject()
           
 long getSimTime()
          Simulation time in MILLI SECONDS !!!
 IWorldObjectUpdateResult<ILocalWorldObject> update(ILocalWorldObject object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

time

protected long time

data

protected AliveMessageLocal data
Constructor Detail

AliveMessageLocalImpl.AliveMessageLocalUpdate

public AliveMessageLocalImpl.AliveMessageLocalUpdate(AliveMessageLocal moverLocal,
                                                     long time)
Method Detail

update

public IWorldObjectUpdateResult<ILocalWorldObject> update(ILocalWorldObject object)
Specified by:
update in interface ILocalWorldObjectUpdatedEvent

getSimTime

public long getSimTime()
Simulation time in MILLI SECONDS !!!

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

getObject

public IWorldObject getObject()
Specified by:
getObject in interface IWorldObjectEvent

getId

public WorldObjectId getId()
Specified by:
getId in interface IWorldObjectEvent
Specified by:
getId in interface ILocalWorldObjectUpdatedEvent


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