core
Interface UpdateListener
- All Known Implementing Classes:
- ContactsDuringAnICTReport, EncountersVSUniqueEncountersReport, EnergyLevelReport, MessageLocationReport, TotalContactTimeReport, TotalEncountersReport, UniqueEncountersReport
public interface UpdateListener
Interface for classes that want to be informed about every single update
call to the World object.
NOTE: if update interval is large (if, e.g., no movement or
connection simulation is needed), update listeners may not get called at all
during the simulation.
Method Summary |
void |
updated(java.util.List<DTNHost> hosts)
Method is called on every update cycle. |
updated
void updated(java.util.List<DTNHost> hosts)
- Method is called on every update cycle.
- Parameters:
hosts
- A list of all hosts in the world