ants.messor
Class NestLoadListingAnalyzer
java.lang.Object
|
+--ants.messor.NestLoadListingAnalyzer
- All Implemented Interfaces:
- Clearable, ScenarioAnalyzer
- public class NestLoadListingAnalyzer
- extends Object
- implements ScenarioAnalyzer
This class implements the ScenarioAnalyzer
interface.
- Version:
- $Revision: 1.4 $
- Author:
- Alberto Montresor
Method Summary |
void |
analyze(Stats stats,
Peernet peernet)
Performs an analysis on the state of the simulated P2P network. |
void |
clear()
Restores the object to its initial state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NestLoadListingAnalyzer
public NestLoadListingAnalyzer(Factory factory,
String name)
- Instantiates a new NestLoadListingAnalyzer.
- Parameters:
factory
- the factory to be used to read configuration arguments
and to create other configurable objectsname
- the name that is associated to this instance in the
configuration file
clear
public void clear()
- Restores the object to its initial state.
- Specified by:
clear
in interface Clearable
analyze
public void analyze(Stats stats,
Peernet peernet)
- Performs an analysis on the state of the simulated P2P network.
- Specified by:
analyze
in interface ScenarioAnalyzer
- Parameters:
stats
- the object used to collect statisticspeernet
- the simulated P2P network, whose content can
be inspected by accessing the storage objects included in it.