FreePastry/docs/javadoc/rice/p2p/scribe/testing/ScribeRegrTest.html

675 lines
32 KiB
HTML
Raw Normal View History

2019-05-13 16:45:05 +04:00
<!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:02 CET 2009 -->
<TITLE>
ScribeRegrTest (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="ScribeRegrTest (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/ScribeRegrTest.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;<A HREF="../../../../rice/p2p/scribe/testing/RawScribeRegrTest.RawTestScribeContent.html" title="class in rice.p2p.scribe.testing"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../rice/p2p/scribe/testing/ScribeRegrTest.TestRouteMessage.html" title="class in rice.p2p.scribe.testing"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?rice/p2p/scribe/testing/ScribeRegrTest.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="ScribeRegrTest.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.scribe.testing</FONT>
<BR>
Class ScribeRegrTest</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html" title="class in rice.p2p.commonapi.testing">rice.p2p.commonapi.testing.CommonAPITest</A>
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>rice.p2p.scribe.testing.ScribeRegrTest</B>
</PRE>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../rice/p2p/scribe/testing/RawScribeRegrTest.html" title="class in rice.p2p.scribe.testing">RawScribeRegrTest</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>ScribeRegrTest</B><DT>extends <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html" title="class in rice.p2p.commonapi.testing">CommonAPITest</A></DL>
</PRE>
<P>
<DL>
<DT><B>Version:</B></DT>
<DD>$Id: ScribeRegrTest.java 4221 2008-05-19 16:41:19Z 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>protected static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/scribe/testing/ScribeRegrTest.TestRouteMessage.html" title="class in rice.p2p.scribe.testing">ScribeRegrTest.TestRouteMessage</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Utility class which simulates a route message</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/scribe/testing/ScribeRegrTest.TestScribeClient.html" title="class in rice.p2p.scribe.testing">ScribeRegrTest.TestScribeClient</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DESCRIBE THE CLASS</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/scribe/testing/ScribeRegrTest.TestScribeContent.html" title="class in rice.p2p.scribe.testing">ScribeRegrTest.TestScribeContent</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Utility class for past content objects</TD>
</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/scribe/testing/ScribeRegrTest.TestScribePolicy.html" title="class in rice.p2p.scribe.testing">ScribeRegrTest.TestScribePolicy</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/scribe/testing/ScribeRegrTest.html#INSTANCE">INSTANCE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DESCRIBE THE FIELD</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../rice/p2p/scribe/testing/ScribeRegrTest.TestScribePolicy.html" title="class in rice.p2p.scribe.testing">ScribeRegrTest.TestScribePolicy</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/scribe/testing/ScribeRegrTest.html#policies">policies</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The scribe policies</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../rice/p2p/scribe/ScribeImpl.html" title="class in rice.p2p.scribe">ScribeImpl</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/scribe/testing/ScribeRegrTest.html#scribes">scribes</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DESCRIBE THE FIELD</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_rice.p2p.commonapi.testing.CommonAPITest"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class rice.p2p.commonapi.testing.<A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html" title="class in rice.p2p.commonapi.testing">CommonAPITest</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#BOOTSTRAP">BOOTSTRAP</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#BOOTSTRAP_PORT">BOOTSTRAP_PORT</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#environment">environment</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#factory">factory</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#FACTORY">FACTORY</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#FAILURE">FAILURE</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#idFactory">idFactory</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#INSTANCE_NAME">INSTANCE_NAME</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#LEASE_PERIOD">LEASE_PERIOD</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#logger">logger</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#nodes">nodes</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#NUM_NODES">NUM_NODES</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#PAD_SIZE">PAD_SIZE</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#params">params</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#PORT">PORT</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#PROTOCOL">PROTOCOL</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#PROTOCOL_DIRECT">PROTOCOL_DIRECT</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#PROTOCOL_RENDEZVOUS">PROTOCOL_RENDEZVOUS</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#PROTOCOL_SOCKET">PROTOCOL_SOCKET</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#simulator">simulator</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#SIMULATOR">SIMULATOR</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#SIMULATOR_EUCLIDEAN">SIMULATOR_EUCLIDEAN</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#SIMULATOR_GT_ITM">SIMULATOR_GT_ITM</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#SIMULATOR_SPHERE">SIMULATOR_SPHERE</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#SUCCESS">SUCCESS</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#TIME_TO_FIND_FAULTY">TIME_TO_FIND_FAULTY</A></CODE></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/scribe/testing/ScribeRegrTest.html#ScribeRegrTest(rice.environment.Environment)">ScribeRegrTest</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 sets up all local variables</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>static&nbsp;java.util.List&lt;<A HREF="../../../../rice/p2p/scribe/Topic.html" title="class in rice.p2p.scribe">Topic</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/scribe/testing/ScribeRegrTest.html#buildListOf1(rice.p2p.scribe.Topic)">buildListOf1</A></B>(<A HREF="../../../../rice/p2p/scribe/Topic.html" title="class in rice.p2p.scribe">Topic</A>&nbsp;topic)</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/p2p/scribe/testing/ScribeRegrTest.TestScribeContent.html" title="class in rice.p2p.scribe.testing">ScribeRegrTest.TestScribeContent</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/scribe/testing/ScribeRegrTest.html#buildTestScribeContent(rice.p2p.scribe.Topic, int)">buildTestScribeContent</A></B>(<A HREF="../../../../rice/p2p/scribe/Topic.html" title="class in rice.p2p.scribe">Topic</A>&nbsp;topic,
int&nbsp;numMessages)</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;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/scribe/testing/ScribeRegrTest.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;Usage: DistScribeRegrTest [-port p] [-bootstrap host[:port]] [-nodes n] [-protocol (rmi|wire)]
[-help]</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/scribe/testing/ScribeRegrTest.html#processNode(int, rice.p2p.commonapi.Node)">processNode</A></B>(int&nbsp;num,
<A HREF="../../../../rice/p2p/commonapi/Node.html" title="interface in rice.p2p.commonapi">Node</A>&nbsp;node)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method which should process the given newly-created 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/scribe/testing/ScribeRegrTest.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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/scribe/testing/ScribeRegrTest.html#setupParams(rice.environment.Environment)">setupParams</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;&nbsp;</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/scribe/testing/ScribeRegrTest.html#testAddNode()">testAddNode</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;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/p2p/scribe/testing/ScribeRegrTest.html#testAPI()">testAPI</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests basic publish functionality</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/scribe/testing/ScribeRegrTest.html#testBasic(int, java.lang.String)">testBasic</A></B>(int&nbsp;skip,
java.lang.String&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests basic functionality</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/scribe/testing/ScribeRegrTest.html#testFailureNotification()">testFailureNotification</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests failure notification</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/scribe/testing/ScribeRegrTest.html#testMaintenance()">testMaintenance</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests basic publish functionality</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/scribe/testing/ScribeRegrTest.html#testMultiSubscribe(int, java.lang.String)">testMultiSubscribe</A></B>(int&nbsp;skip,
java.lang.String&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Makes sure that if you subscribe to multiple topics at once that they end up on different 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/scribe/testing/ScribeRegrTest.html#testSingleRoot(java.lang.String)">testSingleRoot</A></B>(java.lang.String&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_rice.p2p.commonapi.testing.CommonAPITest"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class rice.p2p.commonapi.testing.<A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html" title="class in rice.p2p.commonapi.testing">CommonAPITest</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#assertEquals(java.lang.String, java.lang.Object, java.lang.Object)">assertEquals</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#assertTrue(java.lang.String, boolean)">assertTrue</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#createNode(int)">createNode</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#createNodes()">createNodes</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#getBootstrap()">getBootstrap</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#kill(int)">kill</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#parseArgs(java.lang.String[])">parseArgs</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#pause(int)">pause</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#sectionDone()">sectionDone</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#sectionStart(java.lang.String)">sectionStart</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#simulate()">simulate</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#simulate(int)">simulate</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#start()">start</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#stepDone()">stepDone</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#stepDone(java.lang.String)">stepDone</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#stepDone(java.lang.String, java.lang.String)">stepDone</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#stepException(java.lang.Exception)">stepException</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#stepStart(java.lang.String)">stepStart</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#waitOnClock(int)">waitOnClock</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#waitToRecoverFromKilling(int)">waitToRecoverFromKilling</A></CODE></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="INSTANCE"><!-- --></A><H3>
INSTANCE</H3>
<PRE>
public static java.lang.String <B>INSTANCE</B></PRE>
<DL>
<DD>DESCRIBE THE FIELD
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="scribes"><!-- --></A><H3>
scribes</H3>
<PRE>
protected <A HREF="../../../../rice/p2p/scribe/ScribeImpl.html" title="class in rice.p2p.scribe">ScribeImpl</A>[] <B>scribes</B></PRE>
<DL>
<DD>DESCRIBE THE FIELD
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="policies"><!-- --></A><H3>
policies</H3>
<PRE>
protected <A HREF="../../../../rice/p2p/scribe/testing/ScribeRegrTest.TestScribePolicy.html" title="class in rice.p2p.scribe.testing">ScribeRegrTest.TestScribePolicy</A>[] <B>policies</B></PRE>
<DL>
<DD>The scribe policies
<P>
<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="ScribeRegrTest(rice.environment.Environment)"><!-- --></A><H3>
ScribeRegrTest</H3>
<PRE>
public <B>ScribeRegrTest</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 sets up all local variables
<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="buildTestScribeContent(rice.p2p.scribe.Topic, int)"><!-- --></A><H3>
buildTestScribeContent</H3>
<PRE>
public <A HREF="../../../../rice/p2p/scribe/testing/ScribeRegrTest.TestScribeContent.html" title="class in rice.p2p.scribe.testing">ScribeRegrTest.TestScribeContent</A> <B>buildTestScribeContent</B>(<A HREF="../../../../rice/p2p/scribe/Topic.html" title="class in rice.p2p.scribe">Topic</A>&nbsp;topic,
int&nbsp;numMessages)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setupParams(rice.environment.Environment)"><!-- --></A><H3>
setupParams</H3>
<PRE>
public void <B>setupParams</B>(<A HREF="../../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A>&nbsp;env)</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#setupParams(rice.environment.Environment)">setupParams</A></CODE> in class <CODE><A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html" title="class in rice.p2p.commonapi.testing">CommonAPITest</A></CODE></DL>
</DD>
<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>Usage: DistScribeRegrTest [-port p] [-bootstrap host[:port]] [-nodes n] [-protocol (rmi|wire)]
[-help]
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>args</CODE> - DESCRIBE THE PARAMETER
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="processNode(int, rice.p2p.commonapi.Node)"><!-- --></A><H3>
processNode</H3>
<PRE>
protected void <B>processNode</B>(int&nbsp;num,
<A HREF="../../../../rice/p2p/commonapi/Node.html" title="interface in rice.p2p.commonapi">Node</A>&nbsp;node)</PRE>
<DL>
<DD>Method which should process the given newly-created node
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#processNode(int, rice.p2p.commonapi.Node)">processNode</A></CODE> in class <CODE><A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html" title="class in rice.p2p.commonapi.testing">CommonAPITest</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - The newly created node<DD><CODE>num</CODE> - The number of this node</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>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#runTest()">runTest</A></CODE> in class <CODE><A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html" title="class in rice.p2p.commonapi.testing">CommonAPITest</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="testAddNode()"><!-- --></A><H3>
testAddNode</H3>
<PRE>
protected void <B>testAddNode</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="testBasic(int, java.lang.String)"><!-- --></A><H3>
testBasic</H3>
<PRE>
protected void <B>testBasic</B>(int&nbsp;skip,
java.lang.String&nbsp;name)</PRE>
<DL>
<DD>Tests basic functionality
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="testMultiSubscribe(int, java.lang.String)"><!-- --></A><H3>
testMultiSubscribe</H3>
<PRE>
protected void <B>testMultiSubscribe</B>(int&nbsp;skip,
java.lang.String&nbsp;name)</PRE>
<DL>
<DD>Makes sure that if you subscribe to multiple topics at once that they end up on different nodes.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="testAPI()"><!-- --></A><H3>
testAPI</H3>
<PRE>
protected void <B>testAPI</B>()</PRE>
<DL>
<DD>Tests basic publish functionality
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="testFailureNotification()"><!-- --></A><H3>
testFailureNotification</H3>
<PRE>
protected void <B>testFailureNotification</B>()</PRE>
<DL>
<DD>Tests failure notification
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="testSingleRoot(java.lang.String)"><!-- --></A><H3>
testSingleRoot</H3>
<PRE>
protected void <B>testSingleRoot</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="testMaintenance()"><!-- --></A><H3>
testMaintenance</H3>
<PRE>
protected void <B>testMaintenance</B>()</PRE>
<DL>
<DD>Tests basic publish functionality
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="buildListOf1(rice.p2p.scribe.Topic)"><!-- --></A><H3>
buildListOf1</H3>
<PRE>
public static java.util.List&lt;<A HREF="../../../../rice/p2p/scribe/Topic.html" title="class in rice.p2p.scribe">Topic</A>&gt; <B>buildListOf1</B>(<A HREF="../../../../rice/p2p/scribe/Topic.html" title="class in rice.p2p.scribe">Topic</A>&nbsp;topic)</PRE>
<DL>
<DD><DL>
</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/ScribeRegrTest.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;<A HREF="../../../../rice/p2p/scribe/testing/RawScribeRegrTest.RawTestScribeContent.html" title="class in rice.p2p.scribe.testing"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../rice/p2p/scribe/testing/ScribeRegrTest.TestRouteMessage.html" title="class in rice.p2p.scribe.testing"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?rice/p2p/scribe/testing/ScribeRegrTest.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="ScribeRegrTest.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>