| 
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.pastry.testing.PastryNetworkTest
Utility class for checking the consistency of an existing pastry network.
| Field Summary | |
protected  java.net.InetSocketAddress | 
bootstrap
DESCRIBE THE FIELD  | 
protected  java.util.HashSet | 
dead
DESCRIBE THE FIELD  | 
protected  SocketPastryNodeFactory | 
factory
DESCRIBE THE FIELD  | 
protected  java.util.HashSet | 
nodes
DESCRIBE THE FIELD  | 
protected  java.util.HashSet | 
unknown
DESCRIBE THE FIELD  | 
| Constructor Summary | |
PastryNetworkTest(SocketPastryNodeFactory factory,
                  java.net.InetSocketAddress bootstrap)
Constructor for PastryNetworkTest.  | 
|
| Method Summary | |
protected  java.util.HashMap | 
fetchLeafSets()
DESCRIBE THE METHOD  | 
protected  java.util.HashMap | 
fetchRouteRow(int row)
DESCRIBE THE METHOD  | 
static void | 
main(java.lang.String[] args)
The main program for the PastryNetworkTest class  | 
 void | 
start()
DESCRIBE THE METHOD  | 
protected  void | 
testLeafSets()
A unit test for JUnit  | 
protected  void | 
testRouteRow(int row)
A unit test for JUnit  | 
protected  void | 
testRoutingTables()
A unit test for JUnit  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected SocketPastryNodeFactory factory
protected java.net.InetSocketAddress bootstrap
protected java.util.HashSet nodes
protected java.util.HashSet dead
protected java.util.HashSet unknown
| Constructor Detail | 
public PastryNetworkTest(SocketPastryNodeFactory factory,
                         java.net.InetSocketAddress bootstrap)
factory - DESCRIBE THE PARAMETERbootstrap - DESCRIBE THE PARAMETER| Method Detail | 
protected java.util.HashMap fetchLeafSets()
                                   throws java.lang.Exception
java.lang.Exception - DESCRIBE THE EXCEPTION
protected void testLeafSets()
                     throws java.lang.Exception
java.lang.Exception - DESCRIBE THE EXCEPTION
protected java.util.HashMap fetchRouteRow(int row)
                                   throws java.io.IOException
row - DESCRIBE THE PARAMETER
java.io.IOException - DESCRIBE THE EXCEPTION
protected void testRouteRow(int row)
                     throws java.io.IOException
row - DESCRIBE THE PARAMETER
java.io.IOException - DESCRIBE THE EXCEPTION
protected void testRoutingTables()
                          throws java.lang.Exception
java.lang.Exception - DESCRIBE THE EXCEPTION
public void start()
           throws java.lang.Exception
java.lang.Exception - DESCRIBE THE EXCEPTION
public static void main(java.lang.String[] args)
                 throws java.lang.Exception
args - The command line arguments
java.lang.Exception - DESCRIBE THE EXCEPTION
  | 
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||