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 |
NAME
public static final String NAME
- Identifier used in the configuration files
- See Also:
- Constant Field Values
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)