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

Field Summary
 
Fields inherited from interface antsim.ScenarioAnalyzer
NAME
 
Constructor Summary
NestLoadListingAnalyzer(Factory factory, String name)
          Instantiates a new NestLoadListingAnalyzer.
 
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
 

Constructor Detail

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 objects
name - the name that is associated to this instance in the configuration file
Method Detail

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 statistics
peernet - the simulated P2P network, whose content can be inspected by accessing the storage objects included in it.