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

java.lang.Object
  extended by cz.cuni.amis.pogamut.multi.communication.messages.SharedBatchBeginEvent
All Implemented Interfaces:
IWorldChangeEvent, Event

public class SharedBatchBeginEvent
extends java.lang.Object
implements IWorldChangeEvent

This message is used by a localWorldView to notify sharedWorldView, that a new batch has started and the LocalWorldView is waiting for the sharedWorldView to process all events from this batch.


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

Constructor Detail

SharedBatchBeginEvent

public SharedBatchBeginEvent(long time,
                             IAgentId agentId)
Method Detail

getAgentId

public IAgentId getAgentId()

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 java.lang.String toString()
Overrides:
toString in class java.lang.Object