rice.rm.testing
Class DirectRMRegrTest

java.lang.Object
  extended byrice.rm.testing.DirectRMRegrTest

public class DirectRMRegrTest
extends java.lang.Object


Field Summary
 java.util.Hashtable nodeIdToApp
           
 java.util.Vector rmClients
           
static boolean setupDone
           
static NetworkSimulator simulator
           
 
Constructor Summary
DirectRMRegrTest()
           
 
Method Summary
 boolean doTesting()
          The system of nodes is set up and the testing is performed while stepwise failing the desired number of nodes.
 Id generateTopicId(java.lang.String topicName)
           
 void joinNodes(int num)
          Creates the specified number of new nodes and joins them to the existing Pastry network.
static void main(java.lang.String[] args)
           
 void makeRMNode()
           
 boolean simulate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

simulator

public static NetworkSimulator simulator

rmClients

public java.util.Vector rmClients

nodeIdToApp

public java.util.Hashtable nodeIdToApp

setupDone

public static boolean setupDone
Constructor Detail

DirectRMRegrTest

public DirectRMRegrTest()
Method Detail

makeRMNode

public void makeRMNode()

simulate

public boolean simulate()

main

public static void main(java.lang.String[] args)

doTesting

public boolean doTesting()
The system of nodes is set up and the testing is performed while stepwise failing the desired number of nodes.

Returns:
true if all the tests PASSED

generateTopicId

public Id generateTopicId(java.lang.String topicName)

joinNodes

public void joinNodes(int num)
Creates the specified number of new nodes and joins them to the existing Pastry network. We also have to initiate leafset and routeset maintenance to make the presence of these newly created nodes be reflected in the leafsets and routesets of other nodes as required.






Imprint-Dataprotection