FreePastry/docs/javadoc/rice/p2p/multiring/testing/MultiringRegrTest.html
ChronosX88 aaa73fe8b3 Pew
2019-05-13 16:45:05 +04:00

1234 lines
45 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_07) on Fri Mar 13 20:01:29 CET 2009 -->
<TITLE>
MultiringRegrTest (Rice Pastry - API Specifications)
</TITLE>
<META NAME="date" CONTENT="2009-03-13">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MultiringRegrTest (Rice Pastry - API Specifications)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MultiringRegrTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Rice Pastry API</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.MultiringTestApp.html" title="class in rice.p2p.multiring.testing"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?rice/p2p/multiring/testing/MultiringRegrTest.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="MultiringRegrTest.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
rice.p2p.multiring.testing</FONT>
<BR>
Class MultiringRegrTest</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>rice.p2p.multiring.testing.MultiringRegrTest</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>MultiringRegrTest</B><DT>extends java.lang.Object</DL>
</PRE>
<P>
Provides regression testing setup for applications written on top of the
commonapi. Currently is written to use Pastry nodes, but this will be abstracted
away.
<P>
<P>
<DL>
<DT><B>Version:</B></DT>
<DD>$Id: MultiringRegrTest.java 4654 2009-01-08 16:33:07Z jeffh $</DD>
<DT><B>Author:</B></DT>
<DD>Alan Mislove</DD>
</DL>
<HR>
<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.MultiringTestApp.html" title="class in rice.p2p.multiring.testing">MultiringRegrTest.MultiringTestApp</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.MultiringTestMessage.html" title="class in rice.p2p.multiring.testing">MultiringRegrTest.MultiringTestMessage</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#BOOTSTRAP_HOST">BOOTSTRAP_HOST</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#BOOTSTRAP_PORT">BOOTSTRAP_PORT</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#environment">environment</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../rice/pastry/PastryNodeFactory.html" title="class in rice.pastry">PastryNodeFactory</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#factory">factory</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#FAILURE">FAILURE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.MultiringTestApp.html" title="class in rice.p2p.multiring.testing">MultiringRegrTest.MultiringTestApp</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#globalApps">globalApps</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../rice/p2p/multiring/MultiringNode.html" title="class in rice.p2p.multiring">MultiringNode</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#globalNodes">globalNodes</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../rice/p2p/commonapi/Id.html" title="interface in rice.p2p.commonapi">Id</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#globalRingId">globalRingId</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../rice/p2p/commonapi/IdFactory.html" title="interface in rice.p2p.commonapi">IdFactory</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#idFactory">idFactory</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#INSTANCE_NAME">INSTANCE_NAME</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#NUM_GATEWAY_NODES">NUM_GATEWAY_NODES</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#NUM_GLOBAL_NODES">NUM_GLOBAL_NODES</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#NUM_INTERNAL_NODES">NUM_INTERNAL_NODES</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#NUM_ORGANIZATIONAL_NODES">NUM_ORGANIZATIONAL_NODES</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#NUM_ORGANIZATIONS">NUM_ORGANIZATIONS</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.MultiringTestApp.html" title="class in rice.p2p.multiring.testing">MultiringRegrTest.MultiringTestApp</A>[][]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#organizationalApps">organizationalApps</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../rice/p2p/multiring/MultiringNode.html" title="class in rice.p2p.multiring">MultiringNode</A>[][]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#organizationalNodes">organizationalNodes</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#PAD_SIZE">PAD_SIZE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#PORT">PORT</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#PROTOCOL">PROTOCOL</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#PROTOCOL_DIRECT">PROTOCOL_DIRECT</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../rice/p2p/commonapi/Id.html" title="interface in rice.p2p.commonapi">Id</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#ringIds">ringIds</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../rice/pastry/direct/NetworkSimulator.html" title="interface in rice.pastry.direct">NetworkSimulator</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#simulator">simulator</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#SIMULATOR">SIMULATOR</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#SIMULATOR_EUCLIDEAN">SIMULATOR_EUCLIDEAN</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#SIMULATOR_SPHERE">SIMULATOR_SPHERE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#SUCCESS">SUCCESS</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#MultiringRegrTest(rice.environment.Environment)">MultiringRegrTest</A></B>(<A HREF="../../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A>&nbsp;env)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor, which takes no arguments and sets up the
factories in preparation for node creation.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#assertEquals(java.lang.String, java.lang.Object, java.lang.Object)">assertEquals</A></B>(java.lang.String&nbsp;description,
java.lang.Object&nbsp;expected,
java.lang.Object&nbsp;actual)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thows an exception if expected is not equal to actual.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#assertTrue(java.lang.String, boolean)">assertTrue</A></B>(java.lang.String&nbsp;intention,
boolean&nbsp;test)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Throws an exception if the test condition is not met.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../rice/p2p/multiring/MultiringNode.html" title="class in rice.p2p.multiring">MultiringNode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#createNode(rice.p2p.commonapi.Id, rice.p2p.multiring.MultiringNode)">createNode</A></B>(<A HREF="../../../../rice/p2p/commonapi/Id.html" title="interface in rice.p2p.commonapi">Id</A>&nbsp;ringId,
<A HREF="../../../../rice/p2p/multiring/MultiringNode.html" title="class in rice.p2p.multiring">MultiringNode</A>&nbsp;bootstrap)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method which creates a non-gateway node, given it's node
number</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../rice/p2p/multiring/MultiringNode.html" title="class in rice.p2p.multiring">MultiringNode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#createNode(rice.p2p.multiring.MultiringNode, rice.p2p.commonapi.Id, rice.p2p.multiring.MultiringNode)">createNode</A></B>(<A HREF="../../../../rice/p2p/multiring/MultiringNode.html" title="class in rice.p2p.multiring">MultiringNode</A>&nbsp;existing,
<A HREF="../../../../rice/p2p/commonapi/Id.html" title="interface in rice.p2p.commonapi">Id</A>&nbsp;ringId,
<A HREF="../../../../rice/p2p/multiring/MultiringNode.html" title="class in rice.p2p.multiring">MultiringNode</A>&nbsp;bootstrap)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method which creates a gateway node, given it's node
number</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#createNodes()">createNodes</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method which creates the nodes</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#getBootstrap(rice.p2p.commonapi.Node)">getBootstrap</A></B>(<A HREF="../../../../rice/p2p/commonapi/Node.html" title="interface in rice.p2p.commonapi">Node</A>&nbsp;bootstrap)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a handle to a bootstrap node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#kill(int)">kill</A></B>(int&nbsp;n)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method which kills the specified node</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#main(java.lang.String[])">main</A></B>(java.lang.String[]&nbsp;args)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#parseArgs(java.lang.String[])">parseArgs</A></B>(java.lang.String[]&nbsp;args)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;process command line args</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#pause(int)">pause</A></B>(int&nbsp;ms)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method which pauses for the provided number of milliseconds</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#runTest()">runTest</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method which should run the test - this is called once all of the
nodes have been created and are ready.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#sectionDone()">sectionDone</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method which prints the end of a test section.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#sectionStart(java.lang.String)">sectionStart</A></B>(java.lang.String&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method which prints the beginning of a test section.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#simulate()">simulate</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;In case we're using the direct simulator, this method
simulates the message passing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#start()">start</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method which starts the creation of nodes</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#stepDone()">stepDone</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method which prints the end of a test section step, with an
assumed success.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#stepDone(java.lang.String)">stepDone</A></B>(java.lang.String&nbsp;status)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method which prints the end of a test section step.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#stepDone(java.lang.String, java.lang.String)">stepDone</A></B>(java.lang.String&nbsp;status,
java.lang.String&nbsp;message)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method which prints the end of a test section step, as
well as a message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#stepException(java.lang.Exception)">stepException</A></B>(java.lang.Exception&nbsp;e)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method which prints an exception which occured during testing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.html#stepStart(java.lang.String)">stepStart</A></B>(java.lang.String&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method which prints the beginning of a test section step.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="globalNodes"><!-- --></A><H3>
globalNodes</H3>
<PRE>
protected <A HREF="../../../../rice/p2p/multiring/MultiringNode.html" title="class in rice.p2p.multiring">MultiringNode</A>[] <B>globalNodes</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="organizationalNodes"><!-- --></A><H3>
organizationalNodes</H3>
<PRE>
protected <A HREF="../../../../rice/p2p/multiring/MultiringNode.html" title="class in rice.p2p.multiring">MultiringNode</A>[][] <B>organizationalNodes</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="globalApps"><!-- --></A><H3>
globalApps</H3>
<PRE>
protected <A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.MultiringTestApp.html" title="class in rice.p2p.multiring.testing">MultiringRegrTest.MultiringTestApp</A>[] <B>globalApps</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="organizationalApps"><!-- --></A><H3>
organizationalApps</H3>
<PRE>
protected <A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.MultiringTestApp.html" title="class in rice.p2p.multiring.testing">MultiringRegrTest.MultiringTestApp</A>[][] <B>organizationalApps</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="globalRingId"><!-- --></A><H3>
globalRingId</H3>
<PRE>
protected <A HREF="../../../../rice/p2p/commonapi/Id.html" title="interface in rice.p2p.commonapi">Id</A> <B>globalRingId</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="ringIds"><!-- --></A><H3>
ringIds</H3>
<PRE>
protected <A HREF="../../../../rice/p2p/commonapi/Id.html" title="interface in rice.p2p.commonapi">Id</A>[] <B>ringIds</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="factory"><!-- --></A><H3>
factory</H3>
<PRE>
protected <A HREF="../../../../rice/pastry/PastryNodeFactory.html" title="class in rice.pastry">PastryNodeFactory</A> <B>factory</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="idFactory"><!-- --></A><H3>
idFactory</H3>
<PRE>
protected <A HREF="../../../../rice/p2p/commonapi/IdFactory.html" title="interface in rice.p2p.commonapi">IdFactory</A> <B>idFactory</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="simulator"><!-- --></A><H3>
simulator</H3>
<PRE>
protected <A HREF="../../../../rice/pastry/direct/NetworkSimulator.html" title="interface in rice.pastry.direct">NetworkSimulator</A> <B>simulator</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="NUM_GLOBAL_NODES"><!-- --></A><H3>
NUM_GLOBAL_NODES</H3>
<PRE>
public static int <B>NUM_GLOBAL_NODES</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="NUM_ORGANIZATIONS"><!-- --></A><H3>
NUM_ORGANIZATIONS</H3>
<PRE>
public static int <B>NUM_ORGANIZATIONS</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="NUM_INTERNAL_NODES"><!-- --></A><H3>
NUM_INTERNAL_NODES</H3>
<PRE>
public static int <B>NUM_INTERNAL_NODES</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="NUM_GATEWAY_NODES"><!-- --></A><H3>
NUM_GATEWAY_NODES</H3>
<PRE>
public static int <B>NUM_GATEWAY_NODES</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="NUM_ORGANIZATIONAL_NODES"><!-- --></A><H3>
NUM_ORGANIZATIONAL_NODES</H3>
<PRE>
public static int <B>NUM_ORGANIZATIONAL_NODES</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="SUCCESS"><!-- --></A><H3>
SUCCESS</H3>
<PRE>
public static final java.lang.String <B>SUCCESS</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#rice.p2p.multiring.testing.MultiringRegrTest.SUCCESS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="FAILURE"><!-- --></A><H3>
FAILURE</H3>
<PRE>
public static final java.lang.String <B>FAILURE</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#rice.p2p.multiring.testing.MultiringRegrTest.FAILURE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="PAD_SIZE"><!-- --></A><H3>
PAD_SIZE</H3>
<PRE>
protected static final int <B>PAD_SIZE</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#rice.p2p.multiring.testing.MultiringRegrTest.PAD_SIZE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="PROTOCOL_DIRECT"><!-- --></A><H3>
PROTOCOL_DIRECT</H3>
<PRE>
public static final int <B>PROTOCOL_DIRECT</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#rice.p2p.multiring.testing.MultiringRegrTest.PROTOCOL_DIRECT">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SIMULATOR_SPHERE"><!-- --></A><H3>
SIMULATOR_SPHERE</H3>
<PRE>
public static final int <B>SIMULATOR_SPHERE</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#rice.p2p.multiring.testing.MultiringRegrTest.SIMULATOR_SPHERE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SIMULATOR_EUCLIDEAN"><!-- --></A><H3>
SIMULATOR_EUCLIDEAN</H3>
<PRE>
public static final int <B>SIMULATOR_EUCLIDEAN</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#rice.p2p.multiring.testing.MultiringRegrTest.SIMULATOR_EUCLIDEAN">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="PORT"><!-- --></A><H3>
PORT</H3>
<PRE>
public static int <B>PORT</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="BOOTSTRAP_HOST"><!-- --></A><H3>
BOOTSTRAP_HOST</H3>
<PRE>
public static java.lang.String <B>BOOTSTRAP_HOST</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="BOOTSTRAP_PORT"><!-- --></A><H3>
BOOTSTRAP_PORT</H3>
<PRE>
public static int <B>BOOTSTRAP_PORT</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="PROTOCOL"><!-- --></A><H3>
PROTOCOL</H3>
<PRE>
public static int <B>PROTOCOL</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="SIMULATOR"><!-- --></A><H3>
SIMULATOR</H3>
<PRE>
public static int <B>SIMULATOR</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="INSTANCE_NAME"><!-- --></A><H3>
INSTANCE_NAME</H3>
<PRE>
public static java.lang.String <B>INSTANCE_NAME</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="environment"><!-- --></A><H3>
environment</H3>
<PRE>
public <A HREF="../../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A> <B>environment</B></PRE>
<DL>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="MultiringRegrTest(rice.environment.Environment)"><!-- --></A><H3>
MultiringRegrTest</H3>
<PRE>
public <B>MultiringRegrTest</B>(<A HREF="../../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A>&nbsp;env)
throws java.io.IOException</PRE>
<DL>
<DD>Constructor, which takes no arguments and sets up the
factories in preparation for node creation.
<P>
<DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="createNodes()"><!-- --></A><H3>
createNodes</H3>
<PRE>
public void <B>createNodes</B>()</PRE>
<DL>
<DD>Method which creates the nodes
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="start()"><!-- --></A><H3>
start</H3>
<PRE>
public void <B>start</B>()</PRE>
<DL>
<DD>Method which starts the creation of nodes
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="simulate()"><!-- --></A><H3>
simulate</H3>
<PRE>
protected void <B>simulate</B>()</PRE>
<DL>
<DD>In case we're using the direct simulator, this method
simulates the message passing.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="createNode(rice.p2p.commonapi.Id, rice.p2p.multiring.MultiringNode)"><!-- --></A><H3>
createNode</H3>
<PRE>
protected <A HREF="../../../../rice/p2p/multiring/MultiringNode.html" title="class in rice.p2p.multiring">MultiringNode</A> <B>createNode</B>(<A HREF="../../../../rice/p2p/commonapi/Id.html" title="interface in rice.p2p.commonapi">Id</A>&nbsp;ringId,
<A HREF="../../../../rice/p2p/multiring/MultiringNode.html" title="class in rice.p2p.multiring">MultiringNode</A>&nbsp;bootstrap)</PRE>
<DL>
<DD>Method which creates a non-gateway node, given it's node
number
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>num</CODE> - The number of creation order
<DT><B>Returns:</B><DD>The created node</DL>
</DD>
</DL>
<HR>
<A NAME="createNode(rice.p2p.multiring.MultiringNode, rice.p2p.commonapi.Id, rice.p2p.multiring.MultiringNode)"><!-- --></A><H3>
createNode</H3>
<PRE>
protected <A HREF="../../../../rice/p2p/multiring/MultiringNode.html" title="class in rice.p2p.multiring">MultiringNode</A> <B>createNode</B>(<A HREF="../../../../rice/p2p/multiring/MultiringNode.html" title="class in rice.p2p.multiring">MultiringNode</A>&nbsp;existing,
<A HREF="../../../../rice/p2p/commonapi/Id.html" title="interface in rice.p2p.commonapi">Id</A>&nbsp;ringId,
<A HREF="../../../../rice/p2p/multiring/MultiringNode.html" title="class in rice.p2p.multiring">MultiringNode</A>&nbsp;bootstrap)</PRE>
<DL>
<DD>Method which creates a gateway node, given it's node
number
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>num</CODE> - The number of creation order
<DT><B>Returns:</B><DD>The created node</DL>
</DD>
</DL>
<HR>
<A NAME="getBootstrap(rice.p2p.commonapi.Node)"><!-- --></A><H3>
getBootstrap</H3>
<PRE>
protected <A HREF="../../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A> <B>getBootstrap</B>(<A HREF="../../../../rice/p2p/commonapi/Node.html" title="interface in rice.p2p.commonapi">Node</A>&nbsp;bootstrap)</PRE>
<DL>
<DD>Gets a handle to a bootstrap node.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>handle to bootstrap node, or null.</DL>
</DD>
</DL>
<HR>
<A NAME="pause(int)"><!-- --></A><H3>
pause</H3>
<PRE>
protected void <B>pause</B>(int&nbsp;ms)</PRE>
<DL>
<DD>Method which pauses for the provided number of milliseconds
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ms</CODE> - The number of milliseconds to pause</DL>
</DD>
</DL>
<HR>
<A NAME="kill(int)"><!-- --></A><H3>
kill</H3>
<PRE>
protected void <B>kill</B>(int&nbsp;n)</PRE>
<DL>
<DD>Method which kills the specified node
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>n</CODE> - The node to kill</DL>
</DD>
</DL>
<HR>
<A NAME="runTest()"><!-- --></A><H3>
runTest</H3>
<PRE>
protected void <B>runTest</B>()</PRE>
<DL>
<DD>Method which should run the test - this is called once all of the
nodes have been created and are ready.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="sectionStart(java.lang.String)"><!-- --></A><H3>
sectionStart</H3>
<PRE>
protected final void <B>sectionStart</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD>Method which prints the beginning of a test section.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of section</DL>
</DD>
</DL>
<HR>
<A NAME="sectionDone()"><!-- --></A><H3>
sectionDone</H3>
<PRE>
protected final void <B>sectionDone</B>()</PRE>
<DL>
<DD>Method which prints the end of a test section.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="stepStart(java.lang.String)"><!-- --></A><H3>
stepStart</H3>
<PRE>
protected final void <B>stepStart</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD>Method which prints the beginning of a test section step.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of step</DL>
</DD>
</DL>
<HR>
<A NAME="stepDone()"><!-- --></A><H3>
stepDone</H3>
<PRE>
protected final void <B>stepDone</B>()</PRE>
<DL>
<DD>Method which prints the end of a test section step, with an
assumed success.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="stepDone(java.lang.String)"><!-- --></A><H3>
stepDone</H3>
<PRE>
protected final void <B>stepDone</B>(java.lang.String&nbsp;status)</PRE>
<DL>
<DD>Method which prints the end of a test section step.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>status</CODE> - The status of step</DL>
</DD>
</DL>
<HR>
<A NAME="stepDone(java.lang.String, java.lang.String)"><!-- --></A><H3>
stepDone</H3>
<PRE>
protected final void <B>stepDone</B>(java.lang.String&nbsp;status,
java.lang.String&nbsp;message)</PRE>
<DL>
<DD>Method which prints the end of a test section step, as
well as a message.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>status</CODE> - The status of section<DD><CODE>message</CODE> - The message</DL>
</DD>
</DL>
<HR>
<A NAME="stepException(java.lang.Exception)"><!-- --></A><H3>
stepException</H3>
<PRE>
protected final void <B>stepException</B>(java.lang.Exception&nbsp;e)</PRE>
<DL>
<DD>Method which prints an exception which occured during testing.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - The exception which was thrown</DL>
</DD>
</DL>
<HR>
<A NAME="assertTrue(java.lang.String, boolean)"><!-- --></A><H3>
assertTrue</H3>
<PRE>
protected final void <B>assertTrue</B>(java.lang.String&nbsp;intention,
boolean&nbsp;test)</PRE>
<DL>
<DD>Throws an exception if the test condition is not met.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="assertEquals(java.lang.String, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
assertEquals</H3>
<PRE>
protected final void <B>assertEquals</B>(java.lang.String&nbsp;description,
java.lang.Object&nbsp;expected,
java.lang.Object&nbsp;actual)</PRE>
<DL>
<DD>Thows an exception if expected is not equal to actual.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="parseArgs(java.lang.String[])"><!-- --></A><H3>
parseArgs</H3>
<PRE>
protected static void <B>parseArgs</B>(java.lang.String[]&nbsp;args)</PRE>
<DL>
<DD>process command line args
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="main(java.lang.String[])"><!-- --></A><H3>
main</H3>
<PRE>
public static void <B>main</B>(java.lang.String[]&nbsp;args)
throws java.io.IOException</PRE>
<DL>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MultiringRegrTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Rice Pastry API</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../rice/p2p/multiring/testing/MultiringRegrTest.MultiringTestApp.html" title="class in rice.p2p.multiring.testing"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?rice/p2p/multiring/testing/MultiringRegrTest.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="MultiringRegrTest.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<i>Copyright &#169; 2001-2005 - Rice Pastry.</i>
</BODY>
</HTML>