📄 profile.html
字号:
minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <xsd:complexType name="TransportAddress"> <xsd:simpleContent> <xsd:extension base="xsd:anyURI"> <xsd:attribute name="range" type="xsd:integer"> <xsd:restrictive> <xsd:minInclusive value="0"/> <xsd:maxInclusive value="65535"/> </xsd:restrictive> </xsd:attribute> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <xsd:complextType name="MulticastAddress"> <xsd:simpleContent> <xsd:extension base="xsd:anyURI"> <xsd:attribute name="enabled" type="xsd:boolean" use="optional" default="true"/> <xsd:attribute name="size" type="xsd:nonNegativeInteger" use="optional" default="16384"/> </xsd:extension> </xsd:simpleContent> </xsd:complextType> <xsd:complexType name="PublicAddress"> <xsd:attribute name="exclusive" type="xsd:boolean" use="optional" default="false"/> </xsd:complexType> <xsd:complexType name="RendezVousService"> <xsd:attribute name="enabled" type="xsd:boolean" use="optional" default="false"/> <xsd:sequence> <xsd:element name="autoStart" type="jxta:AutoStart" minOccurs="0" maxOccurs="1" default="0"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="RelayService"> <xsd:attribute name="enabled" type="xsd:boolean" use="optional" default="false"/> <xsd:attribute name="queueSize" type="xsd:nonNegativeInterger" use="optional" default="100"/> <xsd:sequence> <xsd:element name="incoming" type="jxta:ServiceEndpoint" minOccurs="0" maxOccurs="1"/> <xsd:element name="outgoing" type="jxta:ServiceEndpoint" minOccurs="0" maxOccurs="1"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="EndpointService"> <xsd:attribute name="queueSize" type="xsd:positiveInteger" use="optional" default="20"/> </xsd:complexType> <xsd:complexType name="ProxyService"> <xsd:simpleContent> <xsd:extension base="xsd:anyURI"> <xsd:attribute name="enabled" type="xsd:boolean" use="optional" default="false"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> <xsd:element name="AutoStart"> <xsd:simpleContent> <xsd:extension base="nonNegativeInteger"> <xsd:attribute name="enabled" type="xsd:boolean" use="optional" default="false"/> </xsd:extension> </xsd:simpleContent> </xsd:element> <xsd:complexType name="ServiceEndpoint"> <xsd:attribute name="enabled" type="xsd:boolean" use="optional" default="false"/> <xsd:attribute name="maximum" type="xsd:positiveInteger" use="optional" default="1"/> <xsd:attribute name="lease" type="xsd:positiveInteger" use="optional" default="7200000"/> </xsd:complexType> </xsd:schema> </pre><P><P><DL><DT><B>Version:</B></DT> <DD>$Id: Profile.java,v 1.18 2004/02/12 03:11:39 gonzo Exp $</DD><DT><B>Author:</B></DT> <DD>james todd [gonzo at jxta dot org]</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"><TD COLSPAN=2><FONT SIZE="+2"><B>Nested Class Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.Key.html" title="class in net.jxta.ext.config">Profile.Key</A></B></CODE><BR> Container for resource keys in the form of XPath expressions.</TD></TR></TABLE> <!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../net/jxta/ext/config/Profile.html" title="class in net.jxta.ext.config">Profile</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.html#DEFAULT">DEFAULT</A></B></CODE><BR> Default profile.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../net/jxta/ext/config/Profile.html" title="class in net.jxta.ext.config">Profile</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.html#EDGE">EDGE</A></B></CODE><BR> Prototypical <em>edge peer</em> , i.e. no RendezVous or Relay service.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../net/jxta/ext/config/Profile.html" title="class in net.jxta.ext.config">Profile</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.html#EDGE_HTTP">EDGE_HTTP</A></B></CODE><BR> Prototypical Http <em>edge peer</em> , i.e. no RendezVous or Relay service.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../net/jxta/ext/config/Profile.html" title="class in net.jxta.ext.config">Profile</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.html#EDGE_TCP">EDGE_TCP</A></B></CODE><BR> Prototypical Tcp <em>edge peer</em> , i.e. no RendezVous or Relay service.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../net/jxta/ext/config/Profile.html" title="class in net.jxta.ext.config">Profile</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.html#RELAY">RELAY</A></B></CODE><BR> Prototypical <em>relay peer</em> , i.e. provisions Relay services.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../net/jxta/ext/config/Profile.html" title="class in net.jxta.ext.config">Profile</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.html#RELAY_HTTP">RELAY_HTTP</A></B></CODE><BR> Prototypical <em>HTTP relay peer</em> , i.e. provisions HTTP Relay services.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../net/jxta/ext/config/Profile.html" title="class in net.jxta.ext.config">Profile</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.html#RELAY_TCP">RELAY_TCP</A></B></CODE><BR> Prototypical <em>TCP relay peer</em> , i.e. provisions TCP Relay services.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../net/jxta/ext/config/Profile.html" title="class in net.jxta.ext.config">Profile</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.html#RENDEZVOUS">RENDEZVOUS</A></B></CODE><BR> Prototypical <em>rendezVous peer</em> , i.e. provisions RendezVous services</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../net/jxta/ext/config/Profile.html" title="class in net.jxta.ext.config">Profile</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.html#RENDEZVOUS_HTTP">RENDEZVOUS_HTTP</A></B></CODE><BR> Prototypical <em>HTTP rendezVous peer</em> , i.e. provisions HTTP RendezVous services</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../net/jxta/ext/config/Profile.html" title="class in net.jxta.ext.config">Profile</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.html#RENDEZVOUS_TCP">RENDEZVOUS_TCP</A></B></CODE><BR> Prototypical <em>TCP rendezVous peer</em> , i.e. provisions TCP RendezVous services</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static <A HREF="../../../../net/jxta/ext/config/Profile.html" title="class in net.jxta.ext.config">Profile</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.html#SEED">SEED</A></B></CODE><BR> Description of the Field</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../net/jxta/ext/config/Profile.html" title="class in net.jxta.ext.config">Profile</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.html#SUPER">SUPER</A></B></CODE><BR> Prototypical <em>super peer</em> , i.e. provisions RendezVous and Relay services.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../net/jxta/ext/config/Profile.html" title="class in net.jxta.ext.config">Profile</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.html#SUPER_HTTP">SUPER_HTTP</A></B></CODE><BR> Prototypical <em>HTTP super peer</em> , i.e. provisions HTTP RendezVous and Relay services.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../net/jxta/ext/config/Profile.html" title="class in net.jxta.ext.config">Profile</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.html#SUPER_TCP">SUPER_TCP</A></B></CODE><BR> Prototypical <em>TCP super peer</em> , i.e. provisions TCP RendezVous and Relay services.</TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.html#Profile(java.net.URL)">Profile</A></B>(java.net.URL profile)</CODE><BR> Constructor for the Profile object.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../net/jxta/ext/config/Resource.html" title="class in net.jxta.ext.config">Resource</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/config/Profile.html#getProfile()">getProfile</A></B>()</CODE><BR> Gets the profile attribute of the Profile object</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -