FreePastry/docs/javadoc/rice/pastry/direct/DirectPastryNodeFactory.html
ChronosX88 aaa73fe8b3 Pew
2019-05-13 16:45:05 +04:00

779 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:27 CET 2009 -->
<TITLE>
DirectPastryNodeFactory (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="DirectPastryNodeFactory (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/DirectPastryNodeFactory.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/pastry/direct/DirectPastryNode.html" title="class in rice.pastry.direct"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../rice/pastry/direct/DirectSizeChecker.html" title="class in rice.pastry.direct"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?rice/pastry/direct/DirectPastryNodeFactory.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="DirectPastryNodeFactory.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;NESTED&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.pastry.direct</FONT>
<BR>
Class DirectPastryNodeFactory</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../rice/pastry/PastryNodeFactory.html" title="class in rice.pastry">rice.pastry.PastryNodeFactory</A>
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html" title="class in rice.pastry.transport">rice.pastry.transport.TransportPastryNodeFactory</A>
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>rice.pastry.direct.DirectPastryNodeFactory</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>DirectPastryNodeFactory</B><DT>extends <A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html" title="class in rice.pastry.transport">TransportPastryNodeFactory</A></DL>
</PRE>
<P>
Pastry node factory for direct connections between nodes (local instances).
<P>
<P>
<DL>
<DT><B>Version:</B></DT>
<DD>$Id: DirectPastryNodeFactory.java 4654 2009-01-08 16:33:07Z jeffh $</DD>
<DT><B>Author:</B></DT>
<DD>Andrew Ladd, Sitaram Iyer, Rongmei Zhang/Y. Charlie Hu</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>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.util.Collection&lt;<A HREF="../../../rice/pastry/NodeHandleFactoryListener.html" title="interface in rice.pastry">NodeHandleFactoryListener</A>&lt;<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&gt;&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#listeners">listeners</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/NodeIdFactory.html" title="interface in rice.pastry">NodeIdFactory</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#nidFactory">nidFactory</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/pastry/direct/DirectPastryNodeFactory.html#simulator">simulator</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_rice.pastry.transport.TransportPastryNodeFactory"><!-- --></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.transport.<A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html" title="class in rice.pastry.transport">TransportPastryNodeFactory</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html#leafSetMaintFreq">leafSetMaintFreq</A>, <A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html#routeSetMaintFreq">routeSetMaintFreq</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_rice.pastry.PastryNodeFactory"><!-- --></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.<A HREF="../../../rice/pastry/PastryNodeFactory.html" title="class in rice.pastry">PastryNodeFactory</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../rice/pastry/PastryNodeFactory.html#environment">environment</A>, <A HREF="../../../rice/pastry/PastryNodeFactory.html#logger">logger</A>, <A HREF="../../../rice/pastry/PastryNodeFactory.html#lSetSize">lSetSize</A>, <A HREF="../../../rice/pastry/PastryNodeFactory.html#rtBase">rtBase</A>, <A HREF="../../../rice/pastry/PastryNodeFactory.html#rtMax">rtMax</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/pastry/direct/DirectPastryNodeFactory.html#DirectPastryNodeFactory(rice.pastry.NodeIdFactory, rice.pastry.direct.NetworkSimulator, rice.environment.Environment)">DirectPastryNodeFactory</A></B>(<A HREF="../../../rice/pastry/NodeIdFactory.html" title="interface in rice.pastry">NodeIdFactory</A>&nbsp;nf,
<A HREF="../../../rice/pastry/direct/NetworkSimulator.html" title="interface in rice.pastry.direct">NetworkSimulator</A>&lt;<A HREF="../../../rice/pastry/direct/DirectNodeHandle.html" title="class in rice.pastry.direct">DirectNodeHandle</A>,<A HREF="../../../rice/p2p/commonapi/rawserialization/RawMessage.html" title="interface in rice.p2p.commonapi.rawserialization">RawMessage</A>&gt;&nbsp;sim,
<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;Main constructor.</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;<A HREF="../../../rice/pastry/boot/Bootstrapper.html" title="interface in rice.pastry.boot">Bootstrapper</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#getBootstrapper(rice.pastry.PastryNode, rice.pastry.transport.NodeHandleAdapter, rice.pastry.NodeHandleFactory, rice.pastry.standard.ProximityNeighborSelector)">getBootstrapper</A></B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A>&nbsp;pn,
<A HREF="../../../rice/pastry/transport/NodeHandleAdapter.html" title="class in rice.pastry.transport">NodeHandleAdapter</A>&nbsp;tl,
<A HREF="../../../rice/pastry/NodeHandleFactory.html" title="interface in rice.pastry">NodeHandleFactory</A>&nbsp;handleFactory,
<A HREF="../../../rice/pastry/standard/ProximityNeighborSelector.html" title="interface in rice.pastry.standard">ProximityNeighborSelector</A>&nbsp;pns)</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="../../../org/mpisws/p2p/transport/TransportLayer.html" title="interface in org.mpisws.p2p.transport">TransportLayer</A>&lt;<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>,<A HREF="../../../rice/p2p/commonapi/rawserialization/RawMessage.html" title="interface in rice.p2p.commonapi.rawserialization">RawMessage</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#getDirectTransportLayer(rice.pastry.PastryNode, rice.pastry.direct.NodeRecord)">getDirectTransportLayer</A></B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A>&nbsp;pn,
<A HREF="../../../rice/pastry/direct/NodeRecord.html" title="interface in rice.pastry.direct">NodeRecord</A>&nbsp;nr)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Override me</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../rice/pastry/leafset/LeafSet.html" title="class in rice.pastry.leafset">LeafSet</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#getLeafSet(rice.pastry.NodeHandle)">getLeafSet</A></B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&nbsp;handle)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns the remote leafset of the provided handle
to the caller, in a protocol-dependent fashion.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../rice/p2p/commonapi/CancellableTask.html" title="interface in rice.p2p.commonapi">CancellableTask</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#getLeafSet(rice.pastry.NodeHandle, rice.Continuation)">getLeafSet</A></B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&nbsp;handle,
<A HREF="../../../rice/Continuation.html" title="interface in rice">Continuation</A>&lt;<A HREF="../../../rice/pastry/leafset/LeafSet.html" title="class in rice.pastry.leafset">LeafSet</A>,java.lang.Exception&gt;&nbsp;c)</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/leafset/LeafSetProtocol.html" title="interface in rice.pastry.leafset">LeafSetProtocol</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#getLeafSetProtocol(rice.pastry.PastryNode, rice.pastry.leafset.LeafSet, rice.pastry.routing.RoutingTable)">getLeafSetProtocol</A></B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A>&nbsp;pn,
<A HREF="../../../rice/pastry/leafset/LeafSet.html" title="class in rice.pastry.leafset">LeafSet</A>&nbsp;leafSet,
<A HREF="../../../rice/pastry/routing/RoutingTable.html" title="class in rice.pastry.routing">RoutingTable</A>&nbsp;routeTable)</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/NodeHandle.html" title="class in rice.pastry">NodeHandle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#getLocalHandle(rice.pastry.PastryNode, rice.pastry.NodeHandleFactory)">getLocalHandle</A></B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A>&nbsp;pn,
<A HREF="../../../rice/pastry/NodeHandleFactory.html" title="interface in rice.pastry">NodeHandleFactory</A>&nbsp;handleFactory)</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/pastry/direct/NetworkSimulator.html" title="interface in rice.pastry.direct">NetworkSimulator</A>&lt;<A HREF="../../../rice/pastry/direct/DirectNodeHandle.html" title="class in rice.pastry.direct">DirectNodeHandle</A>,<A HREF="../../../rice/p2p/commonapi/rawserialization/RawMessage.html" title="interface in rice.p2p.commonapi.rawserialization">RawMessage</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#getNetworkSimulator()">getNetworkSimulator</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Getter for the NetworkSimulator.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../rice/pastry/transport/NodeHandleAdapter.html" title="class in rice.pastry.transport">NodeHandleAdapter</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#getNodeHandleAdapter(rice.pastry.PastryNode, rice.pastry.NodeHandleFactory, rice.pastry.transport.TLDeserializer)">getNodeHandleAdapter</A></B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A>&nbsp;pn,
<A HREF="../../../rice/pastry/NodeHandleFactory.html" title="interface in rice.pastry">NodeHandleFactory</A>&nbsp;handleFactory,
<A HREF="../../../rice/pastry/transport/TLDeserializer.html" title="class in rice.pastry.transport">TLDeserializer</A>&nbsp;deserializer)</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/NodeHandleFactory.html" title="interface in rice.pastry">NodeHandleFactory</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#getNodeHandleFactory(rice.pastry.PastryNode)">getNodeHandleFactory</A></B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A>&nbsp;pn)</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;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#getProximity(rice.pastry.NodeHandle, rice.pastry.NodeHandle)">getProximity</A></B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&nbsp;local,
<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&nbsp;remote)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method determines and returns the proximity of the current local
node the provided NodeHandle.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../rice/pastry/routing/RouteSet.html" title="class in rice.pastry.routing">RouteSet</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#getRouteRow(rice.pastry.NodeHandle, int)">getRouteRow</A></B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&nbsp;handle,
int&nbsp;row)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns the remote route row of the provided handle
to the caller, in a protocol-dependent fashion.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../rice/p2p/commonapi/CancellableTask.html" title="interface in rice.p2p.commonapi">CancellableTask</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#getRouteRow(rice.pastry.NodeHandle, int, rice.Continuation)">getRouteRow</A></B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&nbsp;handle,
int&nbsp;row,
<A HREF="../../../rice/Continuation.html" title="interface in rice">Continuation</A>&lt;<A HREF="../../../rice/pastry/routing/RouteSet.html" title="class in rice.pastry.routing">RouteSet</A>[],java.lang.Exception&gt;&nbsp;c)</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/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#newNode()">newNode</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/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#newNode(rice.pastry.Id)">newNode</A></B>(<A HREF="../../../rice/pastry/Id.html" title="class in rice.pastry">Id</A>&nbsp;nodeId)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Manufacture a new Pastry node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#newNode(rice.pastry.NodeHandle)">newNode</A></B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&nbsp;bootstrap)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Manufacture a new Pastry node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../rice/pastry/direct/DirectPastryNodeFactory.html#newNode(rice.pastry.NodeHandle, rice.pastry.Id)">newNode</A></B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&nbsp;bootstrap,
<A HREF="../../../rice/pastry/Id.html" title="class in rice.pastry">Id</A>&nbsp;nodeId)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Call this to construct a new node of the type chosen by the factory, with
the given nodeId.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_rice.pastry.transport.TransportPastryNodeFactory"><!-- --></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.transport.<A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html" title="class in rice.pastry.transport">TransportPastryNodeFactory</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html#getJoinProtocol(rice.pastry.PastryNode, rice.pastry.leafset.LeafSet, rice.pastry.routing.RoutingTable, rice.pastry.ReadyStrategy)">getJoinProtocol</A>, <A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html#getProximityNeighborSelector(rice.pastry.PastryNode)">getProximityNeighborSelector</A>, <A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html#getRouterStrategy(rice.pastry.PastryNode)">getRouterStrategy</A>, <A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html#getRouteSetProtocol(rice.pastry.PastryNode, rice.pastry.leafset.LeafSet, rice.pastry.routing.RoutingTable)">getRouteSetProtocol</A>, <A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html#getTLDeserializer(rice.pastry.NodeHandleFactory, rice.pastry.PastryNode)">getTLDeserializer</A>, <A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html#nodeHandleHelper(rice.pastry.PastryNode)">nodeHandleHelper</A>, <A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html#registerApps(rice.pastry.PastryNode, rice.pastry.leafset.LeafSet, rice.pastry.routing.RoutingTable, rice.pastry.transport.NodeHandleAdapter, rice.pastry.NodeHandleFactory)">registerApps</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_rice.pastry.PastryNodeFactory"><!-- --></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.<A HREF="../../../rice/pastry/PastryNodeFactory.html" title="class in rice.pastry">PastryNodeFactory</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../rice/pastry/PastryNodeFactory.html#getEnvironment()">getEnvironment</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="nidFactory"><!-- --></A><H3>
nidFactory</H3>
<PRE>
protected <A HREF="../../../rice/pastry/NodeIdFactory.html" title="interface in rice.pastry">NodeIdFactory</A> <B>nidFactory</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="listeners"><!-- --></A><H3>
listeners</H3>
<PRE>
protected java.util.Collection&lt;<A HREF="../../../rice/pastry/NodeHandleFactoryListener.html" title="interface in rice.pastry">NodeHandleFactoryListener</A>&lt;<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&gt;&gt; <B>listeners</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="DirectPastryNodeFactory(rice.pastry.NodeIdFactory, rice.pastry.direct.NetworkSimulator, rice.environment.Environment)"><!-- --></A><H3>
DirectPastryNodeFactory</H3>
<PRE>
public <B>DirectPastryNodeFactory</B>(<A HREF="../../../rice/pastry/NodeIdFactory.html" title="interface in rice.pastry">NodeIdFactory</A>&nbsp;nf,
<A HREF="../../../rice/pastry/direct/NetworkSimulator.html" title="interface in rice.pastry.direct">NetworkSimulator</A>&lt;<A HREF="../../../rice/pastry/direct/DirectNodeHandle.html" title="class in rice.pastry.direct">DirectNodeHandle</A>,<A HREF="../../../rice/p2p/commonapi/rawserialization/RawMessage.html" title="interface in rice.p2p.commonapi.rawserialization">RawMessage</A>&gt;&nbsp;sim,
<A HREF="../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A>&nbsp;env)</PRE>
<DL>
<DD>Main constructor.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>nf</CODE> - the NodeIdFactory<DD><CODE>sim</CODE> - the NetworkSimulator<DD><CODE>e</CODE> - the Enviornment</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="getLeafSetProtocol(rice.pastry.PastryNode, rice.pastry.leafset.LeafSet, rice.pastry.routing.RoutingTable)"><!-- --></A><H3>
getLeafSetProtocol</H3>
<PRE>
protected <A HREF="../../../rice/pastry/leafset/LeafSetProtocol.html" title="interface in rice.pastry.leafset">LeafSetProtocol</A> <B>getLeafSetProtocol</B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A>&nbsp;pn,
<A HREF="../../../rice/pastry/leafset/LeafSet.html" title="class in rice.pastry.leafset">LeafSet</A>&nbsp;leafSet,
<A HREF="../../../rice/pastry/routing/RoutingTable.html" title="class in rice.pastry.routing">RoutingTable</A>&nbsp;routeTable)</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html#getLeafSetProtocol(rice.pastry.PastryNode, rice.pastry.leafset.LeafSet, rice.pastry.routing.RoutingTable)">getLeafSetProtocol</A></CODE> in class <CODE><A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html" title="class in rice.pastry.transport">TransportPastryNodeFactory</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getNetworkSimulator()"><!-- --></A><H3>
getNetworkSimulator</H3>
<PRE>
public <A HREF="../../../rice/pastry/direct/NetworkSimulator.html" title="interface in rice.pastry.direct">NetworkSimulator</A>&lt;<A HREF="../../../rice/pastry/direct/DirectNodeHandle.html" title="class in rice.pastry.direct">DirectNodeHandle</A>,<A HREF="../../../rice/p2p/commonapi/rawserialization/RawMessage.html" title="interface in rice.p2p.commonapi.rawserialization">RawMessage</A>&gt; <B>getNetworkSimulator</B>()</PRE>
<DL>
<DD>Getter for the NetworkSimulator.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the NetworkSimulator we are using.</DL>
</DD>
</DL>
<HR>
<A NAME="newNode(rice.pastry.NodeHandle)"><!-- --></A><H3>
newNode</H3>
<PRE>
public <A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A> <B>newNode</B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&nbsp;bootstrap)</PRE>
<DL>
<DD>Manufacture a new Pastry node.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../rice/pastry/PastryNodeFactory.html#newNode(rice.pastry.NodeHandle)">newNode</A></CODE> in class <CODE><A HREF="../../../rice/pastry/PastryNodeFactory.html" title="class in rice.pastry">PastryNodeFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bootstrap</CODE> - The node handle to bootstrap off of
<DT><B>Returns:</B><DD>a new PastryNode</DL>
</DD>
</DL>
<HR>
<A NAME="newNode()"><!-- --></A><H3>
newNode</H3>
<PRE>
public <A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A> <B>newNode</B>()
throws java.io.IOException</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../rice/pastry/PastryNodeFactory.html#newNode()">newNode</A></CODE> in class <CODE><A HREF="../../../rice/pastry/PastryNodeFactory.html" title="class in rice.pastry">PastryNodeFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="newNode(rice.pastry.NodeHandle, rice.pastry.Id)"><!-- --></A><H3>
newNode</H3>
<PRE>
public <A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A> <B>newNode</B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&nbsp;bootstrap,
<A HREF="../../../rice/pastry/Id.html" title="class in rice.pastry">Id</A>&nbsp;nodeId)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../rice/pastry/PastryNodeFactory.html#newNode(rice.pastry.NodeHandle, rice.pastry.Id)">PastryNodeFactory</A></CODE></B></DD>
<DD>Call this to construct a new node of the type chosen by the factory, with
the given nodeId.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../rice/pastry/PastryNodeFactory.html#newNode(rice.pastry.NodeHandle, rice.pastry.Id)">newNode</A></CODE> in class <CODE><A HREF="../../../rice/pastry/PastryNodeFactory.html" title="class in rice.pastry">PastryNodeFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bootstrap</CODE> - The node handle to bootstrap off of<DD><CODE>nodeId</CODE> - The nodeId of the new node</DL>
</DD>
</DL>
<HR>
<A NAME="newNode(rice.pastry.Id)"><!-- --></A><H3>
newNode</H3>
<PRE>
public <A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A> <B>newNode</B>(<A HREF="../../../rice/pastry/Id.html" title="class in rice.pastry">Id</A>&nbsp;nodeId)
throws java.io.IOException</PRE>
<DL>
<DD>Manufacture a new Pastry node.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../rice/pastry/PastryNodeFactory.html#newNode(rice.pastry.Id)">newNode</A></CODE> in class <CODE><A HREF="../../../rice/pastry/PastryNodeFactory.html" title="class in rice.pastry">PastryNodeFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a new PastryNode
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getLeafSet(rice.pastry.NodeHandle)"><!-- --></A><H3>
getLeafSet</H3>
<PRE>
public <A HREF="../../../rice/pastry/leafset/LeafSet.html" title="class in rice.pastry.leafset">LeafSet</A> <B>getLeafSet</B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&nbsp;handle)
throws java.io.IOException</PRE>
<DL>
<DD>This method returns the remote leafset of the provided handle
to the caller, in a protocol-dependent fashion. Note that this method
may block while sending the message across the wire.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>handle</CODE> - The node to connect to
<DT><B>Returns:</B><DD>The leafset of the remote node
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getLeafSet(rice.pastry.NodeHandle, rice.Continuation)"><!-- --></A><H3>
getLeafSet</H3>
<PRE>
public <A HREF="../../../rice/p2p/commonapi/CancellableTask.html" title="interface in rice.p2p.commonapi">CancellableTask</A> <B>getLeafSet</B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&nbsp;handle,
<A HREF="../../../rice/Continuation.html" title="interface in rice">Continuation</A>&lt;<A HREF="../../../rice/pastry/leafset/LeafSet.html" title="class in rice.pastry.leafset">LeafSet</A>,java.lang.Exception&gt;&nbsp;c)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getRouteRow(rice.pastry.NodeHandle, int)"><!-- --></A><H3>
getRouteRow</H3>
<PRE>
public <A HREF="../../../rice/pastry/routing/RouteSet.html" title="class in rice.pastry.routing">RouteSet</A>[] <B>getRouteRow</B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&nbsp;handle,
int&nbsp;row)
throws java.io.IOException</PRE>
<DL>
<DD>This method returns the remote route row of the provided handle
to the caller, in a protocol-dependent fashion. Note that this method
may block while sending the message across the wire.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>handle</CODE> - The node to connect to<DD><CODE>row</CODE> - The row number to retrieve
<DT><B>Returns:</B><DD>The route row of the remote node
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getRouteRow(rice.pastry.NodeHandle, int, rice.Continuation)"><!-- --></A><H3>
getRouteRow</H3>
<PRE>
public <A HREF="../../../rice/p2p/commonapi/CancellableTask.html" title="interface in rice.p2p.commonapi">CancellableTask</A> <B>getRouteRow</B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&nbsp;handle,
int&nbsp;row,
<A HREF="../../../rice/Continuation.html" title="interface in rice">Continuation</A>&lt;<A HREF="../../../rice/pastry/routing/RouteSet.html" title="class in rice.pastry.routing">RouteSet</A>[],java.lang.Exception&gt;&nbsp;c)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getProximity(rice.pastry.NodeHandle, rice.pastry.NodeHandle)"><!-- --></A><H3>
getProximity</H3>
<PRE>
public int <B>getProximity</B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&nbsp;local,
<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>&nbsp;remote)</PRE>
<DL>
<DD>This method determines and returns the proximity of the current local
node the provided NodeHandle. This will need to be done in a protocol-
dependent fashion and may need to be done in a special way.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>handle</CODE> - The handle to determine the proximity of
<DT><B>Returns:</B><DD>The proximity of the provided handle</DL>
</DD>
</DL>
<HR>
<A NAME="getLocalHandle(rice.pastry.PastryNode, rice.pastry.NodeHandleFactory)"><!-- --></A><H3>
getLocalHandle</H3>
<PRE>
protected <A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A> <B>getLocalHandle</B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A>&nbsp;pn,
<A HREF="../../../rice/pastry/NodeHandleFactory.html" title="interface in rice.pastry">NodeHandleFactory</A>&nbsp;handleFactory)
throws java.io.IOException</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html#getLocalHandle(rice.pastry.PastryNode, rice.pastry.NodeHandleFactory)">getLocalHandle</A></CODE> in class <CODE><A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html" title="class in rice.pastry.transport">TransportPastryNodeFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getNodeHandleFactory(rice.pastry.PastryNode)"><!-- --></A><H3>
getNodeHandleFactory</H3>
<PRE>
protected <A HREF="../../../rice/pastry/NodeHandleFactory.html" title="interface in rice.pastry">NodeHandleFactory</A> <B>getNodeHandleFactory</B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A>&nbsp;pn)
throws java.io.IOException</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html#getNodeHandleFactory(rice.pastry.PastryNode)">getNodeHandleFactory</A></CODE> in class <CODE><A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html" title="class in rice.pastry.transport">TransportPastryNodeFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getNodeHandleAdapter(rice.pastry.PastryNode, rice.pastry.NodeHandleFactory, rice.pastry.transport.TLDeserializer)"><!-- --></A><H3>
getNodeHandleAdapter</H3>
<PRE>
protected <A HREF="../../../rice/pastry/transport/NodeHandleAdapter.html" title="class in rice.pastry.transport">NodeHandleAdapter</A> <B>getNodeHandleAdapter</B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A>&nbsp;pn,
<A HREF="../../../rice/pastry/NodeHandleFactory.html" title="interface in rice.pastry">NodeHandleFactory</A>&nbsp;handleFactory,
<A HREF="../../../rice/pastry/transport/TLDeserializer.html" title="class in rice.pastry.transport">TLDeserializer</A>&nbsp;deserializer)
throws java.io.IOException</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html#getNodeHandleAdapter(rice.pastry.PastryNode, rice.pastry.NodeHandleFactory, rice.pastry.transport.TLDeserializer)">getNodeHandleAdapter</A></CODE> in class <CODE><A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html" title="class in rice.pastry.transport">TransportPastryNodeFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getDirectTransportLayer(rice.pastry.PastryNode, rice.pastry.direct.NodeRecord)"><!-- --></A><H3>
getDirectTransportLayer</H3>
<PRE>
protected <A HREF="../../../org/mpisws/p2p/transport/TransportLayer.html" title="interface in org.mpisws.p2p.transport">TransportLayer</A>&lt;<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A>,<A HREF="../../../rice/p2p/commonapi/rawserialization/RawMessage.html" title="interface in rice.p2p.commonapi.rawserialization">RawMessage</A>&gt; <B>getDirectTransportLayer</B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A>&nbsp;pn,
<A HREF="../../../rice/pastry/direct/NodeRecord.html" title="interface in rice.pastry.direct">NodeRecord</A>&nbsp;nr)</PRE>
<DL>
<DD>Override me
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pn</CODE> - <DD><CODE>nr</CODE> -
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="getBootstrapper(rice.pastry.PastryNode, rice.pastry.transport.NodeHandleAdapter, rice.pastry.NodeHandleFactory, rice.pastry.standard.ProximityNeighborSelector)"><!-- --></A><H3>
getBootstrapper</H3>
<PRE>
protected <A HREF="../../../rice/pastry/boot/Bootstrapper.html" title="interface in rice.pastry.boot">Bootstrapper</A> <B>getBootstrapper</B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A>&nbsp;pn,
<A HREF="../../../rice/pastry/transport/NodeHandleAdapter.html" title="class in rice.pastry.transport">NodeHandleAdapter</A>&nbsp;tl,
<A HREF="../../../rice/pastry/NodeHandleFactory.html" title="interface in rice.pastry">NodeHandleFactory</A>&nbsp;handleFactory,
<A HREF="../../../rice/pastry/standard/ProximityNeighborSelector.html" title="interface in rice.pastry.standard">ProximityNeighborSelector</A>&nbsp;pns)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html#getBootstrapper(rice.pastry.PastryNode, rice.pastry.transport.NodeHandleAdapter, rice.pastry.NodeHandleFactory, rice.pastry.standard.ProximityNeighborSelector)">getBootstrapper</A></CODE> in class <CODE><A HREF="../../../rice/pastry/transport/TransportPastryNodeFactory.html" title="class in rice.pastry.transport">TransportPastryNodeFactory</A></CODE></DL>
</DD>
<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/DirectPastryNodeFactory.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/pastry/direct/DirectPastryNode.html" title="class in rice.pastry.direct"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../rice/pastry/direct/DirectSizeChecker.html" title="class in rice.pastry.direct"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?rice/pastry/direct/DirectPastryNodeFactory.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="DirectPastryNodeFactory.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;NESTED&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>