📄 configurator.html
字号:
</DD><DD><DL><DT><B>Parameters:</B><DD><CODE>description</CODE> - the peer description</DL></DD></DL><HR><A NAME="getTrace()"><!-- --></A><H3>getTrace</H3><PRE>public <A HREF="../../../../net/jxta/ext/config/Trace.html" title="class in net.jxta.ext.config">Trace</A> <B>getTrace</B>()</PRE><DL><DD>Gets the <code>Trace</code>.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The Trace</DL></DD></DL><HR><A NAME="setTrace(net.jxta.ext.config.Trace)"><!-- --></A><H3>setTrace</H3><PRE>public void <B>setTrace</B>(<A HREF="../../../../net/jxta/ext/config/Trace.html" title="class in net.jxta.ext.config">Trace</A> trace)</PRE><DL><DD>Sets the <code>Trace</code> level.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>trace</CODE> - the Trace</DL></DD></DL><HR><A NAME="getPeerId()"><!-- --></A><H3>getPeerId</H3><PRE>public <A HREF="../../../../net/jxta/peer/PeerID.html" title="class in net.jxta.peer">PeerID</A> <B>getPeerId</B>()</PRE><DL><DD>Gets the <code>PeerID</code>.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The PeerID</DL></DD></DL><HR><A NAME="setPeerId(net.jxta.peer.PeerID)"><!-- --></A><H3>setPeerId</H3><PRE>public void <B>setPeerId</B>(<A HREF="../../../../net/jxta/peer/PeerID.html" title="class in net.jxta.peer">PeerID</A> peerId)</PRE><DL><DD>Sets the <code>PeerID</code>.<br> <br> Unspecified PeerIDs will be generated by the <code>Platform</code>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>peerId</CODE> - The PeerID</DL></DD></DL><HR><A NAME="isRendezVous()"><!-- --></A><H3>isRendezVous</H3><PRE>public boolean <B>isRendezVous</B>()</PRE><DL><DD>Gets the <code>RendezVous</code> enabler.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The RendezVous enabler</DL></DD></DL><HR><A NAME="setRendezVous(boolean)"><!-- --></A><H3>setRendezVous</H3><PRE>public void <B>setRendezVous</B>(boolean isEnabled)</PRE><DL><DD>Sets the <code>RendezVous</code> enabler.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>isEnabled</CODE> - The RendezVous enabler</DL></DD></DL><HR><A NAME="getRendezVous()"><!-- --></A><H3>getRendezVous</H3><PRE>public java.util.List <B>getRendezVous</B>()</PRE><DL><DD>Gets the <code>RendezVous</code> addresses.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The RendezVous addresses</DL></DD></DL><HR><A NAME="setRendezVous(java.net.URI)"><!-- --></A><H3>setRendezVous</H3><PRE>public void <B>setRendezVous</B>(java.net.URI rendezVous) throws <A HREF="../../../../net/jxta/exception/ConfiguratorException.html" title="class in net.jxta.exception">ConfiguratorException</A></PRE><DL><DD>Sets the <code>RendezVous</code> addresses.<br> <br> RendezVous addresses with unspecified host information will be, upon <code>PlatformConfig</code> generation, be replaced with the associated bootstrap results. Further, if the scheme is provided.then only matching boostrap results will be retained.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rendezVous</CODE> - The RendezVous address<DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/ext/config/ConfiguratorException.html" title="class in net.jxta.ext.config">ConfiguratorException</A></CODE> - Description of the Exception<DD><CODE><A HREF="../../../../net/jxta/exception/ConfiguratorException.html" title="class in net.jxta.exception">ConfiguratorException</A></CODE></DL></DD></DL><HR><A NAME="setRendezVous(java.util.List)"><!-- --></A><H3>setRendezVous</H3><PRE>public void <B>setRendezVous</B>(java.util.List rendezVous) throws <A HREF="../../../../net/jxta/exception/ConfiguratorException.html" title="class in net.jxta.exception">ConfiguratorException</A></PRE><DL><DD>Sets the <code>RendezVous</code> addresses.<br> <br> RendezVous addresses with unspecified host information will be, upon <code>PlatformConfig</code> generation, be replaced with the associated bootstrap results. Further, if the scheme is provided.then only matching boostrap results will be retained.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rendezVous</CODE> - The RendezVous addresses<DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/ext/config/ConfiguratorException.html" title="class in net.jxta.ext.config">ConfiguratorException</A></CODE> - Description of the Exception<DD><CODE><A HREF="../../../../net/jxta/exception/ConfiguratorException.html" title="class in net.jxta.exception">ConfiguratorException</A></CODE></DL></DD></DL><HR><A NAME="addRendezVous(java.net.URI)"><!-- --></A><H3>addRendezVous</H3><PRE>public void <B>addRendezVous</B>(java.net.URI rendezVous) throws <A HREF="../../../../net/jxta/exception/ConfiguratorException.html" title="class in net.jxta.exception">ConfiguratorException</A></PRE><DL><DD>Adds a <code>RendezVous</code> address.<br> <br> RendezVous addresses with unspecified host information will be, upon <code>PlatformConfig</code> generation, be replaced with the associated bootstrap results. Further, if the scheme is provided.then only matching boostrap results will be retained.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rendezVous</CODE> - The RendezVous address<DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/ext/config/ConfiguratorException.html" title="class in net.jxta.ext.config">ConfiguratorException</A></CODE> - Description of the Exception<DD><CODE><A HREF="../../../../net/jxta/exception/ConfiguratorException.html" title="class in net.jxta.exception">ConfiguratorException</A></CODE></DL></DD></DL><HR><A NAME="addRendezVous(java.util.List)"><!-- --></A><H3>addRendezVous</H3><PRE>public void <B>addRendezVous</B>(java.util.List rendezVous) throws <A HREF="../../../../net/jxta/exception/ConfiguratorException.html" title="class in net.jxta.exception">ConfiguratorException</A></PRE><DL><DD>Adds <code>RendezVous</code> addresses.<br> <br> RendezVous addresses with unspecified host information will be, upon <code>PlatformConfig</code> generation, be replaced with the associated bootstrap results. Further, if the scheme is provided.then only matching boostrap results will be retained.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rendezVous</CODE> - The RendezVous addressses<DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/ext/config/ConfiguratorException.html" title="class in net.jxta.ext.config">ConfiguratorException</A></CODE> - Description of the Exception<DD><CODE><A HREF="../../../../net/jxta/exception/ConfiguratorException.html" title="class in net.jxta.exception">ConfiguratorException</A></CODE></DL></DD></DL><HR><A NAME="removeRendezVous(java.net.URI)"><!-- --></A><H3>removeRendezVous</H3><PRE>public java.net.URI <B>removeRendezVous</B>(java.net.URI rendezVous)</PRE><DL><DD>Remove the <code>RendezVous</code> address.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rendezVous</CODE> - The RendezVous address<DT><B>Returns:</B><DD>Description of the Return Value</DL></DD></DL><HR><A NAME="clearRendezVous()"><!-- --></A><H3>clearRendezVous</H3><PRE>public void <B>clearRendezVous</B>()</PRE><DL><DD>Remove all <code>RendezVous</code> addresses.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isRendezVousAutoStart()"><!-- --></A><H3>isRendezVousAutoStart</H3><PRE>public boolean <B>isRendezVousAutoStart</B>()</PRE><DL><DD>Get <code>RendezVousService</code> AutoStart status.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The rendezVousAutoStart value</DL></DD></DL><HR><A NAME="setRendezVousAutoStart(boolean)"><!-- --></A><H3>setRendezVousAutoStart</H3><PRE>public void <B>setRendezVousAutoStart</B>(boolean isAutoStart)</PRE><DL><DD>Set <code>RendezVousService</code> AutoStart status enabling the resulting <code>Peer</code> to become a <code>RendezVous</code> if the ascribed RendezVous are not accessible.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>isAutoStart</CODE> - The new rendezVousAutoStart value</DL></DD></DL><HR><A NAME="getRendezVousAutoStart()"><!-- --></A><H3>getRendezVousAutoStart</H3><PRE>public long <B>getRendezVousAutoStart</B>()</PRE><DL><DD>Gets the <code>RendezVous</code> AutoStart delay in milliseconds.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -