public class DefaultSimEntityListener extends Object implements SimEntityListener
SimEntityListener having empty implementations for all required methods to meet the interface.
Convenience class; override only the methods you need.Copyright (C) 2005-2017 Jan de Jongh, TNO
This file is covered by the LICENSE file in the root of this project.
| Constructor and Description |
|---|
DefaultSimEntityListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
notifyResetEntity(SimEntity entity)
Does nothing.
|
void |
notifyStateChanged(double time,
SimEntity entity,
List<Map<SimEntitySimpleEventType.Member,SimEntityEvent>> notifications)
Does nothing.
|
void |
notifyUpdate(double time,
SimEntity entity)
Does nothing.
|
public void notifyResetEntity(SimEntity entity)
notifyResetEntity in interface SimEntityListenerentity - The entity that has been reset.public void notifyUpdate(double time,
SimEntity entity)
notifyUpdate in interface SimEntityListenertime - The time of the update.entity - The entity that is about to be updated.SimEntityListener.notifyStateChanged(double, org.javades.jqueues.r5.entity.SimEntity, java.util.List<java.util.Map<org.javades.jqueues.r5.entity.SimEntitySimpleEventType.Member, org.javades.jqueues.r5.entity.SimEntityEvent>>),
AbstractSimQueueStatpublic void notifyStateChanged(double time,
SimEntity entity,
List<Map<SimEntitySimpleEventType.Member,SimEntityEvent>> notifications)
notifyStateChanged in interface SimEntityListenertime - The current time (the time of the state change).entity - The entity at which the state changed.notifications - The sequence of notifications of state-changes the combination of which led to the new state.SimEntityListener.notifyUpdate(double, org.javades.jqueues.r5.entity.SimEntity)Copyright © 2018. All rights reserved.