antsim
Interface Peernet

All Superinterfaces:
Clearable
All Known Implementing Classes:
PeernetImpl

public interface Peernet
extends Clearable

The Peernet interface represents a simulated peer-to-peer network. Each Peernet is composed by a collection of nests linked together. Peernet objects are one of the components of Scenario objects.

Version:
$Revision: 1.2 $
Author:
Alberto Montresor

Field Summary
static String NAME
          Identifier used in the configuration files
 
Method Summary
 void executeRound()
          Execute a single round in the simulated P2P network.
 List getNests()
          Returns the collection of nests composing the simulated P2P network.
 int size()
          Returns the initial size of the P2P network.
 
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

getNests

public List getNests()
Returns the collection of nests composing the simulated P2P network.


size

public int size()
Returns the initial size of the P2P network.


executeRound

public void executeRound()
Execute a single round in the simulated P2P network.