antsim
Interface RequestGenerator

All Superinterfaces:
Clearable
All Known Implementing Classes:
GenericRequestGenerator, GnutantRequestGenerator, GnutantRequestGenerator, MessorRequestGenerator

public interface RequestGenerator
extends Clearable

Classes implementing this interface are used to generate requests during a simulation.

Version:
$Revision: 1.3 $
Author:
Alberto Montresor

Field Summary
static String NAME
          Identifier used in the configuration files
 
Method Summary
 void generateRequests()
          Generates a set of requests in the specified P2P network.
 void init(ResourceSet resourceSet, Peernet peernet, ResponseMonitor monitor)
           
 
Methods inherited from interface anthill.util.Clearable
clear
 

Field Detail

NAME

public static final String NAME
Identifier used in the configuration files

See Also:
Constant Field Values
Method Detail

generateRequests

public void generateRequests()
Generates a set of requests in the specified P2P network. Different implementations may adopt different generation and distribution patterns.


init

public void init(ResourceSet resourceSet,
                 Peernet peernet,
                 ResponseMonitor monitor)