cz.cuni.amis.pogamut.ut2004multi.communication.worldview
Class UT2004BatchAwareSharedWorldView

java.lang.Object
  extended by cz.cuni.amis.pogamut.multi.communication.worldview.impl.AbstractSharedWorldView
      extended by cz.cuni.amis.pogamut.multi.communication.worldview.impl.EventDrivenSharedWorldView
          extended by cz.cuni.amis.pogamut.multi.communication.worldview.impl.BatchAwareSharedWorldView
              extended by cz.cuni.amis.pogamut.ut2004multi.communication.worldview.UT2004BatchAwareSharedWorldView
All Implemented Interfaces:
IComponent, ISharedComponent, ISharedWorldChangeEventInput, ISharedWorldView

public class UT2004BatchAwareSharedWorldView
extends BatchAwareSharedWorldView


Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.impl.EventDrivenSharedWorldView
notifyEventsList, receiveEventProcessing, syncEventList, WORLDVIEW_DEPENDENCY
 
Fields inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.impl.AbstractSharedWorldView
COMPONENT_ID, control, controller, currentSharedProperties, idClassMap, localWorldViews, log, sharedProperties, sharedWorldObjects, staticWorldObjects, syncCurrentSharedProperties, syncIdClassMap, syncSharedProperties, syncSharedWorldObjects
 
Constructor Summary
UT2004BatchAwareSharedWorldView(java.util.logging.Logger logger)
           
 
Method Summary
protected  ISharedWorldObject createSharedObject(java.lang.Class msgClass, WorldObjectId id, ITeamId teamId, TimeKey time)
          Creates a sharedWorldObject of the specified id.
protected  boolean isBatchEndEvent(IWorldChangeEvent event)
           
 
Methods inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.impl.BatchAwareSharedWorldView
notify, notifyLocalWorldViews, processBeginEvent, processEndEvent
 
Methods inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.impl.EventDrivenSharedWorldView
innerNotify, objectCreated, objectDestroyed, objectUpdated, propertyCreated, propertyUpdated, propertyUpdatedEvent, raiseEvent, sharedObjectUpdatedEvent, staticObjectUpdatedEvent
 
Methods inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.impl.AbstractSharedWorldView
addComponentBus, addEventListener, addObjectListener, addObjectListener, addObjectListener, addObjectListener, addOldSharedProperty, addSharedProperty, addSharedProperty, addSharedWorldObject, addStaticWorldObject, cleanUp, getComponentId, getShared, getSharedProperties, getSharedProperty, getStatic, isListening, isListening, isListening, isListening, isListening, isListening, isPaused, isRunning, kill, pause, prePause, preStop, registerLocalWorldView, removeComponentBus, removeEventListener, removeListener, removeObjectListener, removeObjectListener, removeObjectListener, removeObjectListener, removeSharedProperty, removeSharedProperty, removeStaticWorldObject, removeStaticWorldObject, reset, resume, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UT2004BatchAwareSharedWorldView

public UT2004BatchAwareSharedWorldView(java.util.logging.Logger logger)
Method Detail

isBatchEndEvent

protected boolean isBatchEndEvent(IWorldChangeEvent event)
Specified by:
isBatchEndEvent in class BatchAwareSharedWorldView

createSharedObject

protected ISharedWorldObject createSharedObject(java.lang.Class msgClass,
                                                WorldObjectId id,
                                                ITeamId teamId,
                                                TimeKey time)
Description copied from class: AbstractSharedWorldView
Creates a sharedWorldObject of the specified id. This method constructs the objects from sharedProperties so it must be overriden by a WorldView that is aware of sharedObjectTypes and can construct the correct objects.

Specified by:
createSharedObject in class AbstractSharedWorldView
Returns: