planet.test
Class SimTest

java.lang.Object
  extended by planet.test.SimTest

public class SimTest
extends java.lang.Object

This test use the event file "test_join1000d.txt" in the "bin/data" directory. Shows the time elapsed for generating the network and its stabilization. Finally, prints all nodes with theirs predecessors, finger table, and successor lists.

Author:
Ruben Mondejar, Jordi Pujol

Constructor Summary
SimTest()
           
 
Method Summary
static void main(java.lang.String[] args)
          Initialize the planet.util.Properties with ..
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimTest

public SimTest()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Initialize the planet.util.Properties with ../conf/factories_zero.properties, ../conf/sim_simtest.properties, ../conf/chord.properties files, loading events from the file specified in sim_simtest.properties file. Then, it initialize the GenericFactory and starts the stabilization process.

Parameters:
args - Nothing.
Throws:
java.lang.Exception