Rice Pastry API

rice.rm.testing
Class DistRMRegrTest

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

public class DistRMRegrTest
extends java.lang.Object

Version:
$Id: DistRMRegrTest.java,v 1.3 2003/05/11 18:18:46 animesh Exp $
Author:
Animesh Nandi

Field Summary
 java.util.Vector distClients
           
 java.util.Vector localNodes
           
static int protocol
           
 
Constructor Summary
DistRMRegrTest()
           
 
Method Summary
static void main(java.lang.String[] args)
          Usage: DistRMRegrTest [-nodes n] [-port p] [-bootstrap bshost[:bsport]] [-protocol [wire,rmi]] [-help].
 rice.pastry.PastryNode makeRMNode()
          Create a Pastry node and add it to pastryNodes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

distClients

public java.util.Vector distClients

localNodes

public java.util.Vector localNodes

protocol

public static int protocol
Constructor Detail

DistRMRegrTest

public DistRMRegrTest()
Method Detail

makeRMNode

public rice.pastry.PastryNode makeRMNode()
Create a Pastry node and add it to pastryNodes. Also create a client application for this node, and spawn off a separate thread for it.

Returns:
the PastryNode on which the RM application exists

main

public static void main(java.lang.String[] args)
Usage: DistRMRegrTest [-nodes n] [-port p] [-bootstrap bshost[:bsport]] [-protocol [wire,rmi]] [-help]. Ports p and bsport refer to WIRE/RMI port numbers (default = 5009). Without -bootstrap bshost[:bsport], only localhost:p is used for bootstrap.


Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection