cz.cuni.amis.pogamut.multi.communication.messages
Class SharedBatchFinishedEvent

Package class diagram package SharedBatchFinishedEvent
java.lang.Object
  extended by cz.cuni.amis.pogamut.multi.communication.messages.SharedBatchFinishedEvent
All Implemented Interfaces:
IWorldChangeEvent, cz.cuni.amis.utils.listener.Event

public class SharedBatchFinishedEvent
extends Object
implements IWorldChangeEvent

This event is sent by SharedWorldView to waiting LocalWorldViews after a batch has been fully processed by the shared WV. After this event is recieved, the shared and static data can be considered consistent for the time carried by the event.

Author:
srlok

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

Constructor Detail

SharedBatchFinishedEvent

public SharedBatchFinishedEvent(long time)
Method Detail

getSimTime

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

Specified by:
getSimTime in interface IWorldChangeEvent
Returns:
timestamp

toString

public String toString()
Overrides:
toString in class Object


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