⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 staticrdvconf.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="EDGE_PEER_PROPERTY"><!-- --></A><H3>EDGE_PEER_PROPERTY</H3><PRE>public static final java.lang.String <B>EDGE_PEER_PROPERTY</B></PRE><DL><DD>The property that determines whether a peer should behave an an edge peer or as a rendezvous peer. Its value is a <code>Boolean</code>.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.jxta.impl.rendezvous.conf.StaticRdvConf.EDGE_PEER_PROPERTY">Constant Field Values</A></DL></DL><HR><A NAME="BOOTSTRAP_ADDRESS_PROPERTY"><!-- --></A><H3>BOOTSTRAP_ADDRESS_PROPERTY</H3><PRE>public static final java.lang.String <B>BOOTSTRAP_ADDRESS_PROPERTY</B></PRE><DL><DD>The list of endpoint addresses of the bootstrap rendezvous peers. These peers are typically very stable, highly available peers used to bootstrap a new peer into the JXTA network. Its value is an array of <code>Strings</code> - <code>String[]</code>.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#net.jxta.impl.rendezvous.conf.StaticRdvConf.BOOTSTRAP_ADDRESS_PROPERTY">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"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="StaticRdvConf()"><!-- --></A><H3>StaticRdvConf</H3><PRE>public <B>StaticRdvConf</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="initialize(net.jxta.peergroup.PeerGroup)"><!-- --></A><H3>initialize</H3><PRE>public void <B>initialize</B>(<A HREF="../../../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup">PeerGroup</A>&nbsp;agroup)</PRE><DL><DD>Initialize the configurator. It is possible to invoke this method multiple times, so an application could monitor the configuration file generated by the JXTA Platform Configurator and re-init if the file changes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>agroup</CODE> - the peer group for which the peer view is to be configured</DL></DD></DL><HR><A NAME="setProperty(java.lang.String, java.lang.Object)"><!-- --></A><H3>setProperty</H3><PRE>protected void <B>setProperty</B>(java.lang.String&nbsp;propertyName,                           java.lang.Object&nbsp;value)</PRE><DL><DD>Set a configuration property. Usually invoked by a subclass. Invokes the property change listeners if the new value is different from the old value. Listeners will be invoked in the thread which invoked this function (no new threads are spawned), so listeners should return quickly.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - the name of the property to change<DD><CODE>value</CODE> - the new value of the property<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the property name is not recognized</DL></DD></DL><HR><A NAME="getProperty(java.lang.String)"><!-- --></A><H3>getProperty</H3><PRE>public java.lang.Object <B>getProperty</B>(java.lang.String&nbsp;propertyName)</PRE><DL><DD>Return the current value of a property.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - the name of the property whose value is to be retreived<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the specified property name is not recognized</DL></DD></DL><HR><A NAME="addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)"><!-- --></A><H3>addPropertyChangeListener</H3><PRE>public void <B>addPropertyChangeListener</B>(java.lang.String&nbsp;property,                                      java.beans.PropertyChangeListener&nbsp;listener)</PRE><DL><DD>Add a listener that is to be invoked whenever the property specified changes. Listeners will be invoked in the thread which invokes <code>setProperty</code> (no new threads are spawned), so listeners should return quickly.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>property</CODE> - the name of the property whose changes are to be monitored. If null, then all properties are monitored<DD><CODE>listener</CODE> - the listener that will be invoked whenever the specified property changes</DL></DD></DL><HR><A NAME="removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)"><!-- --></A><H3>removePropertyChangeListener</H3><PRE>public void <B>removePropertyChangeListener</B>(java.lang.String&nbsp;property,                                         java.beans.PropertyChangeListener&nbsp;listener)</PRE><DL><DD>Deregister from interest in changes to the specified property.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>property</CODE> - the name of the property whose changes were being monitored. If null, then the listener is removed from all properties<DD><CODE>listener</CODE> - the listener to be removed</DL></DD></DL><HR><A NAME="kick(java.util.SortedSet)"><!-- --></A><H3>kick</H3><PRE>public void <B>kick</B>(java.util.SortedSet&nbsp;rpv)</PRE><DL><DD>We let the PeerView invoke this method periodically in order to avoid creating a local thread in each config. Since there is a peer view per service per group, we could potentially save a lot of threads. <p>For the static configurator we do not need to do anything, but subclasses may choose to override, if necessary.<P><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=3 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/StaticRdvConf.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>JXTA J2SE</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="StaticRdvConf.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></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -