cz.cuni.amis.pogamut.multi.communication.messages
Class SharedBatchBeginEvent
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SharedBatchBeginEvent
public SharedBatchBeginEvent(long time,
IAgentId agentId)
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