it.unitn.ds.peersim.utils
Class FailedNodes

java.lang.Object
  extended by it.unitn.ds.peersim.utils.FailedNodes
All Implemented Interfaces:
peersim.core.Control

public class FailedNodes
extends java.lang.Object
implements peersim.core.Control

Distributed Systems Course Project

Year: 2009/2010

University of Trento

FailedNodes -. This class inits the network putting nodes to the down state, the number of nodes to put down is specified in the configuration file.

Version:
1.0
Author:
Avancini Mattia, Giampaolo Farina

Constructor Summary
FailedNodes(java.lang.String prefix)
          Instantiates a new failed nodes.
 
Method Summary
 boolean execute()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailedNodes

public FailedNodes(java.lang.String prefix)
Instantiates a new failed nodes.

Parameters:
prefix - the prefix
Method Detail

execute

public boolean execute()
Specified by:
execute in interface peersim.core.Control