FreePastry/docs/javadoc/rice/pastry/socket/appsocket/AppSocketPastryNodeFactory.html

506 lines
40 KiB
HTML
Raw Permalink 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:00 CET 2009 -->
<TITLE>
AppSocketPastryNodeFactory (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="AppSocketPastryNodeFactory (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/AppSocketPastryNodeFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Rice Pastry API</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../rice/pastry/socket/appsocket/BogusNodeHandle2.html" title="class in rice.pastry.socket.appsocket"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?rice/pastry/socket/appsocket/AppSocketPastryNodeFactory.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="AppSocketPastryNodeFactory.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_classes_inherited_from_class_rice.pastry.socket.SocketPastryNodeFactory">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.pastry.socket.appsocket</FONT>
<BR>
Class AppSocketPastryNodeFactory</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 "><A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html" title="class in rice.pastry.socket">rice.pastry.socket.SocketPastryNodeFactory</A>
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>rice.pastry.socket.appsocket.AppSocketPastryNodeFactory</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>AppSocketPastryNodeFactory</B><DT>extends <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html" title="class in rice.pastry.socket">SocketPastryNodeFactory</A></DL>
</PRE>
<P>
Extends SocketPastryNodeFactory and adds getSocketFactory() to allow access to
a FreePastry application w/o joining the Ring.
<P>
<P>
<DL>
<DT><B>Author:</B></DT>
<DD>Jeff Hoye</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>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_rice.pastry.socket.SocketPastryNodeFactory"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class rice.pastry.socket.<A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html" title="class in rice.pastry.socket">SocketPastryNodeFactory</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.TLBootstrapper.html" title="class in rice.pastry.socket">SocketPastryNodeFactory.TLBootstrapper</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.TransLiveness.html" title="interface in rice.pastry.socket">SocketPastryNodeFactory.TransLiveness</A>&lt;<A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.TransLiveness.html" title="type parameter in SocketPastryNodeFactory.TransLiveness">Identifier</A>,<A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.TransLiveness.html" title="type parameter in SocketPastryNodeFactory.TransLiveness">MessageType</A>&gt;, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.TransLivenessProximity.html" title="interface in rice.pastry.socket">SocketPastryNodeFactory.TransLivenessProximity</A>&lt;<A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.TransLivenessProximity.html" title="type parameter in SocketPastryNodeFactory.TransLivenessProximity">Identifier</A>,<A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.TransLivenessProximity.html" title="type parameter in SocketPastryNodeFactory.TransLivenessProximity">MessageType</A>&gt;</CODE></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/pastry/socket/appsocket/AppSocketPastryNodeFactory.html#SOCKET_FACTORY_UID">SOCKET_FACTORY_UID</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;java.util.Map&lt;java.lang.Integer,<A HREF="../../../../org/mpisws/p2p/transport/wire/SocketManager.html" title="class in org.mpisws.p2p.transport.wire">SocketManager</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/pastry/socket/appsocket/AppSocketPastryNodeFactory.html#socketTable">socketTable</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used for getSocketChannel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/pastry/socket/appsocket/AppSocketPastryNodeFactory.html#STORE_SOCKET">STORE_SOCKET</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.socket.SocketPastryNodeFactory"><!-- --></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.socket.<A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html" title="class in rice.pastry.socket">SocketPastryNodeFactory</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#findFireWallPolicy">findFireWallPolicy</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#IP_SERVICE">IP_SERVICE</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#localAddress">localAddress</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#MULTI_ADDRESS_STRATEGY">MULTI_ADDRESS_STRATEGY</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#MULTI_INET_TL">MULTI_INET_TL</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#NETWORK_INFO_NODE_HANDLE_INDEX">NETWORK_INFO_NODE_HANDLE_INDEX</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#nidFactory">nidFactory</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#NODE_HANDLE_FACTORY">NODE_HANDLE_FACTORY</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#PASTRY_MAGIC_NUMBER">PASTRY_MAGIC_NUMBER</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#PRIORITY_TL">PRIORITY_TL</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#PROXY_ADDRESS">PROXY_ADDRESS</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#testFireWallPolicy">testFireWallPolicy</A></CODE></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/socket/appsocket/AppSocketPastryNodeFactory.html#AppSocketPastryNodeFactory(rice.pastry.NodeIdFactory, java.net.InetAddress, int, rice.environment.Environment)">AppSocketPastryNodeFactory</A></B>(<A HREF="../../../../rice/pastry/NodeIdFactory.html" title="interface in rice.pastry">NodeIdFactory</A>&nbsp;nf,
java.net.InetAddress&nbsp;bindAddress,
int&nbsp;startPort,
<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><CODE><B><A HREF="../../../../rice/pastry/socket/appsocket/AppSocketPastryNodeFactory.html#AppSocketPastryNodeFactory(rice.pastry.NodeIdFactory, int, rice.environment.Environment)">AppSocketPastryNodeFactory</A></B>(<A HREF="../../../../rice/pastry/NodeIdFactory.html" title="interface in rice.pastry">NodeIdFactory</A>&nbsp;nf,
int&nbsp;startPort,
<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>
</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/socket/SocketPastryNodeFactory.TransLiveness.html" title="interface in rice.pastry.socket">SocketPastryNodeFactory.TransLiveness</A>&lt;<A HREF="../../../../org/mpisws/p2p/transport/sourceroute/SourceRoute.html" title="class in org.mpisws.p2p.transport.sourceroute">SourceRoute</A>&lt;<A HREF="../../../../org/mpisws/p2p/transport/multiaddress/MultiInetSocketAddress.html" title="class in org.mpisws.p2p.transport.multiaddress">MultiInetSocketAddress</A>&gt;,java.nio.ByteBuffer&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/pastry/socket/appsocket/AppSocketPastryNodeFactory.html#getLivenessTransportLayer(org.mpisws.p2p.transport.TransportLayer, rice.pastry.PastryNode)">getLivenessTransportLayer</A></B>(<A HREF="../../../../org/mpisws/p2p/transport/TransportLayer.html" title="interface in org.mpisws.p2p.transport">TransportLayer</A>&lt;<A HREF="../../../../org/mpisws/p2p/transport/sourceroute/SourceRoute.html" title="class in org.mpisws.p2p.transport.sourceroute">SourceRoute</A>&lt;<A HREF="../../../../org/mpisws/p2p/transport/multiaddress/MultiInetSocketAddress.html" title="class in org.mpisws.p2p.transport.multiaddress">MultiInetSocketAddress</A>&gt;,java.nio.ByteBuffer&gt;&nbsp;tl,
<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;If it's for a remote node, eliminate the liveness layer, and just return bogus results</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../rice/pastry/socket/appsocket/SocketFactory.html" title="interface in rice.pastry.socket.appsocket">SocketFactory</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/pastry/socket/appsocket/AppSocketPastryNodeFactory.html#getSocketFactory()">getSocketFactory</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="../../../../org/mpisws/p2p/transport/TransportLayer.html" title="interface in org.mpisws.p2p.transport">TransportLayer</A>&lt;java.net.InetSocketAddress,java.nio.ByteBuffer&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../rice/pastry/socket/appsocket/AppSocketPastryNodeFactory.html#getWireTransportLayer(java.net.InetSocketAddress, rice.pastry.PastryNode)">getWireTransportLayer</A></B>(java.net.InetSocketAddress&nbsp;innermostAddress,
<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;This code tells the WireTransportLayerImpl not to create a server-socket if we are using the BogusTLPastryNode</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_rice.pastry.socket.SocketPastryNodeFactory"><!-- --></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.socket.<A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html" title="class in rice.pastry.socket">SocketPastryNodeFactory</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#cloneEnvironment(rice.environment.Environment, rice.pastry.Id)">cloneEnvironment</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#cloneLogManager(rice.environment.Environment, rice.pastry.Id)">cloneLogManager</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#cloneProcessor(rice.environment.Environment, rice.pastry.Id, rice.environment.logging.LogManager)">cloneProcessor</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#cloneRandomSource(rice.environment.Environment, rice.pastry.Id, rice.environment.logging.LogManager)">cloneRandomSource</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#cloneSelectorManager(rice.environment.Environment, rice.pastry.Id, rice.environment.logging.LogManager)">cloneSelectorManager</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getBindAddress()">getBindAddress</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getBindStrategy()">getBindStrategy</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getBootstrapper(rice.pastry.PastryNode, rice.pastry.transport.NodeHandleAdapter, rice.pastry.NodeHandleFactory, rice.pastry.standard.ProximityNeighborSelector)">getBootstrapper</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getBottomLayers(rice.pastry.PastryNode, org.mpisws.p2p.transport.multiaddress.MultiInetSocketAddress)">getBottomLayers</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getCommonAPITransportLayer(org.mpisws.p2p.transport.TransportLayer, rice.pastry.PastryNode, rice.pastry.transport.TLDeserializer)">getCommonAPITransportLayer</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getIdentityImpl(rice.pastry.PastryNode, rice.pastry.socket.SocketNodeHandleFactory)">getIdentityImpl</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getIdentiySerializer(rice.pastry.PastryNode, rice.pastry.socket.SocketNodeHandleFactory)">getIdentiySerializer</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getIpServiceTransportLayer(org.mpisws.p2p.transport.TransportLayer, rice.pastry.PastryNode)">getIpServiceTransportLayer</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getLimitSocketsTransportLayer(org.mpisws.p2p.transport.TransportLayer, rice.pastry.PastryNode)">getLimitSocketsTransportLayer</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getLocalHandle(rice.pastry.PastryNode, rice.pastry.NodeHandleFactory)">getLocalHandle</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getLowerIdentityLayer(org.mpisws.p2p.transport.TransportLayer, rice.pastry.PastryNode, org.mpisws.p2p.transport.identity.IdentityImpl)">getLowerIdentityLayer</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getMagicNumberTransportLayer(org.mpisws.p2p.transport.TransportLayer, rice.pastry.PastryNode)">getMagicNumberTransportLayer</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getMultiAddressSourceRouteFactory(rice.pastry.PastryNode)">getMultiAddressSourceRouteFactory</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getMultiAddressSourceRouteTransportLayer(org.mpisws.p2p.transport.TransportLayer, rice.pastry.PastryNode, org.mpisws.p2p.transport.multiaddress.MultiInetSocketAddress)">getMultiAddressSourceRouteTransportLayer</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getNextHopStrategy(org.mpisws.p2p.transport.TransportLayer, org.mpisws.p2p.transport.liveness.LivenessProvider, org.mpisws.p2p.transport.liveness.Pinger, rice.pastry.PastryNode, org.mpisws.p2p.transport.multiaddress.MultiInetSocketAddress, org.mpisws.p2p.transport.sourceroute.factory.MultiAddressSourceRouteFactory)">getNextHopStrategy</A>, <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getNextInetSocketAddress()">
</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#getLeafSetProtocol(rice.pastry.PastryNode, rice.pastry.leafset.LeafSet, rice.pastry.routing.RoutingTable)">getLeafSetProtocol</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></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="socketTable"><!-- --></A><H3>
socketTable</H3>
<PRE>
protected java.util.Map&lt;java.lang.Integer,<A HREF="../../../../org/mpisws/p2p/transport/wire/SocketManager.html" title="class in org.mpisws.p2p.transport.wire">SocketManager</A>&gt; <B>socketTable</B></PRE>
<DL>
<DD>Used for getSocketChannel. The AppSocketFactroyLayer stores the channel here,
and then it is retrieved when the channel is opened.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="STORE_SOCKET"><!-- --></A><H3>
STORE_SOCKET</H3>
<PRE>
public static final java.lang.String <B>STORE_SOCKET</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#rice.pastry.socket.appsocket.AppSocketPastryNodeFactory.STORE_SOCKET">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SOCKET_FACTORY_UID"><!-- --></A><H3>
SOCKET_FACTORY_UID</H3>
<PRE>
public static final java.lang.String <B>SOCKET_FACTORY_UID</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#rice.pastry.socket.appsocket.AppSocketPastryNodeFactory.SOCKET_FACTORY_UID">Constant Field Values</A></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="AppSocketPastryNodeFactory(rice.pastry.NodeIdFactory, int, rice.environment.Environment)"><!-- --></A><H3>
AppSocketPastryNodeFactory</H3>
<PRE>
public <B>AppSocketPastryNodeFactory</B>(<A HREF="../../../../rice/pastry/NodeIdFactory.html" title="interface in rice.pastry">NodeIdFactory</A>&nbsp;nf,
int&nbsp;startPort,
<A HREF="../../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A>&nbsp;env)
throws java.io.IOException</PRE>
<DL>
<DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DL>
<HR>
<A NAME="AppSocketPastryNodeFactory(rice.pastry.NodeIdFactory, java.net.InetAddress, int, rice.environment.Environment)"><!-- --></A><H3>
AppSocketPastryNodeFactory</H3>
<PRE>
public <B>AppSocketPastryNodeFactory</B>(<A HREF="../../../../rice/pastry/NodeIdFactory.html" title="interface in rice.pastry">NodeIdFactory</A>&nbsp;nf,
java.net.InetAddress&nbsp;bindAddress,
int&nbsp;startPort,
<A HREF="../../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A>&nbsp;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="getSocketFactory()"><!-- --></A><H3>
getSocketFactory</H3>
<PRE>
public <A HREF="../../../../rice/pastry/socket/appsocket/SocketFactory.html" title="interface in rice.pastry.socket.appsocket">SocketFactory</A> <B>getSocketFactory</B>()
throws java.io.IOException</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>used to open sockets to the remote node
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getWireTransportLayer(java.net.InetSocketAddress, rice.pastry.PastryNode)"><!-- --></A><H3>
getWireTransportLayer</H3>
<PRE>
protected <A HREF="../../../../org/mpisws/p2p/transport/TransportLayer.html" title="interface in org.mpisws.p2p.transport">TransportLayer</A>&lt;java.net.InetSocketAddress,java.nio.ByteBuffer&gt; <B>getWireTransportLayer</B>(java.net.InetSocketAddress&nbsp;innermostAddress,
<A HREF="../../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A>&nbsp;pn)
throws java.io.IOException</PRE>
<DL>
<DD>This code tells the WireTransportLayerImpl not to create a server-socket if we are using the BogusTLPastryNode
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getWireTransportLayer(java.net.InetSocketAddress, rice.pastry.PastryNode)">getWireTransportLayer</A></CODE> in class <CODE><A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html" title="class in rice.pastry.socket">SocketPastryNodeFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getLivenessTransportLayer(org.mpisws.p2p.transport.TransportLayer, rice.pastry.PastryNode)"><!-- --></A><H3>
getLivenessTransportLayer</H3>
<PRE>
protected <A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.TransLiveness.html" title="interface in rice.pastry.socket">SocketPastryNodeFactory.TransLiveness</A>&lt;<A HREF="../../../../org/mpisws/p2p/transport/sourceroute/SourceRoute.html" title="class in org.mpisws.p2p.transport.sourceroute">SourceRoute</A>&lt;<A HREF="../../../../org/mpisws/p2p/transport/multiaddress/MultiInetSocketAddress.html" title="class in org.mpisws.p2p.transport.multiaddress">MultiInetSocketAddress</A>&gt;,java.nio.ByteBuffer&gt; <B>getLivenessTransportLayer</B>(<A HREF="../../../../org/mpisws/p2p/transport/TransportLayer.html" title="interface in org.mpisws.p2p.transport">TransportLayer</A>&lt;<A HREF="../../../../org/mpisws/p2p/transport/sourceroute/SourceRoute.html" title="class in org.mpisws.p2p.transport.sourceroute">SourceRoute</A>&lt;<A HREF="../../../../org/mpisws/p2p/transport/multiaddress/MultiInetSocketAddress.html" title="class in org.mpisws.p2p.transport.multiaddress">MultiInetSocketAddress</A>&gt;,java.nio.ByteBuffer&gt;&nbsp;tl,
<A HREF="../../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A>&nbsp;pn)</PRE>
<DL>
<DD>If it's for a remote node, eliminate the liveness layer, and just return bogus results
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html#getLivenessTransportLayer(org.mpisws.p2p.transport.TransportLayer, rice.pastry.PastryNode)">getLivenessTransportLayer</A></CODE> in class <CODE><A HREF="../../../../rice/pastry/socket/SocketPastryNodeFactory.html" title="class in rice.pastry.socket">SocketPastryNodeFactory</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/AppSocketPastryNodeFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Rice Pastry API</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../rice/pastry/socket/appsocket/BogusNodeHandle2.html" title="class in rice.pastry.socket.appsocket"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?rice/pastry/socket/appsocket/AppSocketPastryNodeFactory.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="AppSocketPastryNodeFactory.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_classes_inherited_from_class_rice.pastry.socket.SocketPastryNodeFactory">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>