mirror of
https://github.com/ChronosX88/FreePastry.git
synced 2025-01-16 01:26:27 +00:00
458 lines
21 KiB
HTML
458 lines
21 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:10 CET 2009 -->
|
||
|
<TITLE>
|
||
|
DistPastryRegrTest (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="DistPastryRegrTest (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> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DistPastryRegrTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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">
|
||
|
<A HREF="../../../rice/pastry/testing/DistHelloWorld.html" title="class in rice.pastry.testing"><B>PREV CLASS</B></A>
|
||
|
<A HREF="../../../rice/pastry/testing/HelloMsg.html" title="class in rice.pastry.testing"><B>NEXT CLASS</B></A></FONT></TD>
|
||
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
|
<A HREF="../../../index.html?rice/pastry/testing/DistPastryRegrTest.html" target="_top"><B>FRAMES</B></A>
|
||
|
<A HREF="DistPastryRegrTest.html" target="_top"><B>NO FRAMES</B></A>
|
||
|
<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: NESTED | <A HREF="#fields_inherited_from_class_rice.pastry.testing.PastryRegrTest">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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.pastry.testing</FONT>
|
||
|
<BR>
|
||
|
Class DistPastryRegrTest</H2>
|
||
|
<PRE>
|
||
|
java.lang.Object
|
||
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../rice/pastry/testing/PastryRegrTest.html" title="class in rice.pastry.testing">rice.pastry.testing.PastryRegrTest</A>
|
||
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>rice.pastry.testing.DistPastryRegrTest</B>
|
||
|
</PRE>
|
||
|
<HR>
|
||
|
<DL>
|
||
|
<DT><PRE>public class <B>DistPastryRegrTest</B><DT>extends <A HREF="../../../rice/pastry/testing/PastryRegrTest.html" title="class in rice.pastry.testing">PastryRegrTest</A></DL>
|
||
|
</PRE>
|
||
|
|
||
|
<P>
|
||
|
a regression test suite for pastry with "distributed" nodes. All nodes are on
|
||
|
one physical machine, but they communicate through one of the network
|
||
|
transport protocols, i.e., RMI or WIRE.
|
||
|
|
||
|
See the usage for more information, the -protocol option can be used to
|
||
|
specify which protocol to run the test with.
|
||
|
<P>
|
||
|
|
||
|
<P>
|
||
|
<DL>
|
||
|
<DT><B>Version:</B></DT>
|
||
|
<DD>$Id: DistPastryRegrTest.java 4654 2009-01-08 16:33:07Z jeffh $</DD>
|
||
|
<DT><B>Author:</B></DT>
|
||
|
<DD>Alan Mislove</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<P>
|
||
|
<!-- =========== 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>
|
||
|
</TABLE>
|
||
|
<A NAME="fields_inherited_from_class_rice.pastry.testing.PastryRegrTest"><!-- --></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.pastry.testing.<A HREF="../../../rice/pastry/testing/PastryRegrTest.html" title="class in rice.pastry.testing">PastryRegrTest</A></B></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#environment">environment</A>, <A HREF="../../../rice/pastry/testing/PastryRegrTest.html#factory">factory</A>, <A HREF="../../../rice/pastry/testing/PastryRegrTest.html#inConcJoin">inConcJoin</A>, <A HREF="../../../rice/pastry/testing/PastryRegrTest.html#lastDist">lastDist</A>, <A HREF="../../../rice/pastry/testing/PastryRegrTest.html#lastMsg">lastMsg</A>, <A HREF="../../../rice/pastry/testing/PastryRegrTest.html#lastNode">lastNode</A>, <A HREF="../../../rice/pastry/testing/PastryRegrTest.html#pastryNodes">pastryNodes</A>, <A HREF="../../../rice/pastry/testing/PastryRegrTest.html#pastryNodesLastAdded">pastryNodesLastAdded</A>, <A HREF="../../../rice/pastry/testing/PastryRegrTest.html#pastryNodesSorted">pastryNodesSorted</A>, <A HREF="../../../rice/pastry/testing/PastryRegrTest.html#pastryNodesSortedReady">pastryNodesSortedReady</A></CODE></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<!-- ======== 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/pastry/testing/DistPastryRegrTest.html#DistPastryRegrTest(rice.environment.Environment)">DistPastryRegrTest</A></B>(<A HREF="../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A> env)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<!-- ========== 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 <A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/pastry/testing/DistPastryRegrTest.html#getBootstrap(boolean)">getBootstrap</A></B>(boolean firstNode)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
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> boolean</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/pastry/testing/DistPastryRegrTest.html#isReallyAlive(rice.pastry.NodeHandle)">isReallyAlive</A></B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A> nh)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
determine whether this node is really alive.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>protected void</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/pastry/testing/DistPastryRegrTest.html#killNode(rice.pastry.PastryNode)">killNode</A></B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A> pn)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
kill a given node.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>static void</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/pastry/testing/DistPastryRegrTest.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Usage: DistRegrPastryTest [-port p] [-protocol (wire|rmi)] [-nodes n]
|
||
|
[-bootstrap host[:port]] [-help]</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> void</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/pastry/testing/DistPastryRegrTest.html#pause(int)">pause</A></B>(int ms)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>protected void</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/pastry/testing/DistPastryRegrTest.html#registerapp(rice.pastry.PastryNode, rice.pastry.testing.RegrTestApp)">registerapp</A></B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A> pn,
|
||
|
<A HREF="../../../rice/pastry/testing/RegrTestApp.html" title="class in rice.pastry.testing">RegrTestApp</A> app)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
wire protocol specific handling of the application object e.g., RMI may
|
||
|
launch a new thread</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> boolean</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../rice/pastry/testing/DistPastryRegrTest.html#simulate()">simulate</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
send one simulated message, or return false for a real wire protocol.</TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="methods_inherited_from_class_rice.pastry.testing.PastryRegrTest"><!-- --></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.pastry.testing.<A HREF="../../../rice/pastry/testing/PastryRegrTest.html" title="class in rice.pastry.testing">PastryRegrTest</A></B></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#checkRoutingTable(rice.pastry.testing.RegrTestApp)">checkRoutingTable</A>, <A HREF="../../../rice/pastry/testing/PastryRegrTest.html#generateNode(rice.pastry.NodeHandle)">generateNode</A>, <A HREF="../../../rice/pastry/testing/PastryRegrTest.html#mainfunc(rice.pastry.testing.PastryRegrTest, java.lang.String[], int, int, int, int, int)">mainfunc</A>, <A HREF="../../../rice/pastry/testing/PastryRegrTest.html#sendPings(int)">sendPings</A></CODE></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<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>
|
||
|
|
||
|
<P>
|
||
|
|
||
|
<!-- ========= 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="DistPastryRegrTest(rice.environment.Environment)"><!-- --></A><H3>
|
||
|
DistPastryRegrTest</H3>
|
||
|
<PRE>
|
||
|
public <B>DistPastryRegrTest</B>(<A HREF="../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A> env)
|
||
|
throws java.io.IOException</PRE>
|
||
|
<DL>
|
||
|
<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="getBootstrap(boolean)"><!-- --></A><H3>
|
||
|
getBootstrap</H3>
|
||
|
<PRE>
|
||
|
protected <A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A> <B>getBootstrap</B>(boolean firstNode)</PRE>
|
||
|
<DL>
|
||
|
<DD>Gets a handle to a bootstrap node.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#getBootstrap(boolean)">getBootstrap</A></CODE> in class <CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html" title="class in rice.pastry.testing">PastryRegrTest</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>firstNode</CODE> - true if bootstraping the first virtual node on this host
|
||
|
<DT><B>Returns:</B><DD>handle to bootstrap node, or null.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="registerapp(rice.pastry.PastryNode, rice.pastry.testing.RegrTestApp)"><!-- --></A><H3>
|
||
|
registerapp</H3>
|
||
|
<PRE>
|
||
|
protected void <B>registerapp</B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A> pn,
|
||
|
<A HREF="../../../rice/pastry/testing/RegrTestApp.html" title="class in rice.pastry.testing">RegrTestApp</A> app)</PRE>
|
||
|
<DL>
|
||
|
<DD>wire protocol specific handling of the application object e.g., RMI may
|
||
|
launch a new thread
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#registerapp(rice.pastry.PastryNode, rice.pastry.testing.RegrTestApp)">registerapp</A></CODE> in class <CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html" title="class in rice.pastry.testing">PastryRegrTest</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>pn</CODE> - pastry node<DD><CODE>app</CODE> - newly created application</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="simulate()"><!-- --></A><H3>
|
||
|
simulate</H3>
|
||
|
<PRE>
|
||
|
public boolean <B>simulate</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#simulate()">PastryRegrTest</A></CODE></B></DD>
|
||
|
<DD>send one simulated message, or return false for a real wire protocol.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#simulate()">simulate</A></CODE> in class <CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html" title="class in rice.pastry.testing">PastryRegrTest</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="pause(int)"><!-- --></A><H3>
|
||
|
pause</H3>
|
||
|
<PRE>
|
||
|
public void <B>pause</B>(int ms)</PRE>
|
||
|
<DL>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#pause(int)">pause</A></CODE> in class <CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html" title="class in rice.pastry.testing">PastryRegrTest</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="isReallyAlive(rice.pastry.NodeHandle)"><!-- --></A><H3>
|
||
|
isReallyAlive</H3>
|
||
|
<PRE>
|
||
|
public boolean <B>isReallyAlive</B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A> nh)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#isReallyAlive(rice.pastry.NodeHandle)">PastryRegrTest</A></CODE></B></DD>
|
||
|
<DD>determine whether this node is really alive.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#isReallyAlive(rice.pastry.NodeHandle)">isReallyAlive</A></CODE> in class <CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html" title="class in rice.pastry.testing">PastryRegrTest</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="killNode(rice.pastry.PastryNode)"><!-- --></A><H3>
|
||
|
killNode</H3>
|
||
|
<PRE>
|
||
|
protected void <B>killNode</B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A> pn)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#killNode(rice.pastry.PastryNode)">PastryRegrTest</A></CODE></B></DD>
|
||
|
<DD>kill a given node.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#killNode(rice.pastry.PastryNode)">killNode</A></CODE> in class <CODE><A HREF="../../../rice/pastry/testing/PastryRegrTest.html" title="class in rice.pastry.testing">PastryRegrTest</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[] args)
|
||
|
throws java.io.IOException</PRE>
|
||
|
<DL>
|
||
|
<DD>Usage: DistRegrPastryTest [-port p] [-protocol (wire|rmi)] [-nodes n]
|
||
|
[-bootstrap host[:port]] [-help]
|
||
|
<P>
|
||
|
<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> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DistPastryRegrTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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">
|
||
|
<A HREF="../../../rice/pastry/testing/DistHelloWorld.html" title="class in rice.pastry.testing"><B>PREV CLASS</B></A>
|
||
|
<A HREF="../../../rice/pastry/testing/HelloMsg.html" title="class in rice.pastry.testing"><B>NEXT CLASS</B></A></FONT></TD>
|
||
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
|
<A HREF="../../../index.html?rice/pastry/testing/DistPastryRegrTest.html" target="_top"><B>FRAMES</B></A>
|
||
|
<A HREF="DistPastryRegrTest.html" target="_top"><B>NO FRAMES</B></A>
|
||
|
<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: NESTED | <A HREF="#fields_inherited_from_class_rice.pastry.testing.PastryRegrTest">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="skip-navbar_bottom"></A>
|
||
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
|
|
||
|
<HR>
|
||
|
<i>Copyright © 2001-2005 - Rice Pastry.</i>
|
||
|
</BODY>
|
||
|
</HTML>
|