Rice Pastry API

rice.rm.testing
Class DirectRMRegrTest

java.lang.Object
  |
  +--rice.rm.testing.DirectRMRegrTest

public class DirectRMRegrTest
extends java.lang.Object

Version:
$Id: DirectRMRegrTest.java,v 1.13 2003/07/23 21:17:57 animesh Exp $
Author:
Animesh Nandi

Field Summary
 java.util.Hashtable nodeIdToApp
           
 java.util.Vector rmClients
           
static boolean setupDone
           
static rice.pastry.direct.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.
 rice.pastry.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 rice.pastry.direct.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 rice.pastry.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.


Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection