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

📄 instantiator.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 4 页
字号:
  information.  <p/>This method allows you to create "Well-known" PeerGroupIDs.  This is similar to how the JXTA "World Peer Group" and "Net  Peer Group". "Well-known" IDs can be useful for common services  that need to do  discovery without advertisements or for network  organization  services. Because of the potential for ID collisions  and the difficulties with maintaining common service interfaces this  varient of PeerGroupID should be used with great caution and  pre-planning.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/id/IDFactory.Instantiator.html#newPeerGroupID(net.jxta.peergroup.PeerGroupID, byte[])">newPeerGroupID</A></CODE> in interface <CODE><A HREF="../../../../../net/jxta/id/IDFactory.Instantiator.html" title="interface in net.jxta.id">IDFactory.Instantiator</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../net/jxta/impl/id/UUID/Instantiator.html#newPeerGroupID(net.jxta.peergroup.PeerGroupID, byte[])">newPeerGroupID</A></CODE> in class <CODE><A HREF="../../../../../net/jxta/impl/id/UUID/Instantiator.html" title="class in net.jxta.impl.id.UUID">Instantiator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="newPeerID(net.jxta.peergroup.PeerGroupID)"><!-- --></A><H3>newPeerID</H3><PRE>public <A HREF="../../../../../net/jxta/peer/PeerID.html" title="class in net.jxta.peer">PeerID</A> <B>newPeerID</B>(<A HREF="../../../../../net/jxta/peergroup/PeerGroupID.html" title="class in net.jxta.peergroup">PeerGroupID</A>&nbsp;groupID)</PRE><DL><DD>Creates a new PeerID instance. A new random peer id will be generated.  The PeerID will be a member of the provided group.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/id/IDFactory.Instantiator.html#newPeerID(net.jxta.peergroup.PeerGroupID)">newPeerID</A></CODE> in interface <CODE><A HREF="../../../../../net/jxta/id/IDFactory.Instantiator.html" title="interface in net.jxta.id">IDFactory.Instantiator</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../net/jxta/impl/id/UUID/Instantiator.html#newPeerID(net.jxta.peergroup.PeerGroupID)">newPeerID</A></CODE> in class <CODE><A HREF="../../../../../net/jxta/impl/id/UUID/Instantiator.html" title="class in net.jxta.impl.id.UUID">Instantiator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="newPeerID(net.jxta.peergroup.PeerGroupID, byte[])"><!-- --></A><H3>newPeerID</H3><PRE>public <A HREF="../../../../../net/jxta/peer/PeerID.html" title="class in net.jxta.peer">PeerID</A> <B>newPeerID</B>(<A HREF="../../../../../net/jxta/peergroup/PeerGroupID.html" title="class in net.jxta.peergroup">PeerGroupID</A>&nbsp;groupID,                        byte[]&nbsp;seed)</PRE><DL><DD>Creates a new PeerID instance. A new PeerID will be generated.  The PeerID will be a member of the provided group.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/id/IDFactory.Instantiator.html#newPeerID(net.jxta.peergroup.PeerGroupID, byte[])">newPeerID</A></CODE> in interface <CODE><A HREF="../../../../../net/jxta/id/IDFactory.Instantiator.html" title="interface in net.jxta.id">IDFactory.Instantiator</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../net/jxta/impl/id/UUID/Instantiator.html#newPeerID(net.jxta.peergroup.PeerGroupID, byte[])">newPeerID</A></CODE> in class <CODE><A HREF="../../../../../net/jxta/impl/id/UUID/Instantiator.html" title="class in net.jxta.impl.id.UUID">Instantiator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="newPipeID(net.jxta.peergroup.PeerGroupID)"><!-- --></A><H3>newPipeID</H3><PRE>public <A HREF="../../../../../net/jxta/pipe/PipeID.html" title="class in net.jxta.pipe">PipeID</A> <B>newPipeID</B>(<A HREF="../../../../../net/jxta/peergroup/PeerGroupID.html" title="class in net.jxta.peergroup">PeerGroupID</A>&nbsp;groupID)</PRE><DL><DD>Creates a new PipeID instance. A new random PipeID will be generated.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/id/IDFactory.Instantiator.html#newPipeID(net.jxta.peergroup.PeerGroupID)">newPipeID</A></CODE> in interface <CODE><A HREF="../../../../../net/jxta/id/IDFactory.Instantiator.html" title="interface in net.jxta.id">IDFactory.Instantiator</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../net/jxta/impl/id/UUID/Instantiator.html#newPipeID(net.jxta.peergroup.PeerGroupID)">newPipeID</A></CODE> in class <CODE><A HREF="../../../../../net/jxta/impl/id/UUID/Instantiator.html" title="class in net.jxta.impl.id.UUID">Instantiator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="newPipeID(net.jxta.peergroup.PeerGroupID, byte[])"><!-- --></A><H3>newPipeID</H3><PRE>public <A HREF="../../../../../net/jxta/pipe/PipeID.html" title="class in net.jxta.pipe">PipeID</A> <B>newPipeID</B>(<A HREF="../../../../../net/jxta/peergroup/PeerGroupID.html" title="class in net.jxta.peergroup">PeerGroupID</A>&nbsp;groupID,                        byte[]&nbsp;seed)</PRE><DL><DD>Creates a new PipeID instance. A new pipe id will be generated with the  provided seed information. The Pipe ID will be a member of the provided  group.  <p/>This varient of PipeID allows you to create "Well-known" pipes  within the context of diverse groups. This can be useful for common  services that need to do discovery without advertisements or for  network organization services.  Because of the potential for ID  collisions and the difficulties with maintaining common service  interfaces this varient of PipeID should be used with great caution  and pre-planning.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/id/IDFactory.Instantiator.html#newPipeID(net.jxta.peergroup.PeerGroupID, byte[])">newPipeID</A></CODE> in interface <CODE><A HREF="../../../../../net/jxta/id/IDFactory.Instantiator.html" title="interface in net.jxta.id">IDFactory.Instantiator</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../net/jxta/impl/id/UUID/Instantiator.html#newPipeID(net.jxta.peergroup.PeerGroupID, byte[])">newPipeID</A></CODE> in class <CODE><A HREF="../../../../../net/jxta/impl/id/UUID/Instantiator.html" title="class in net.jxta.impl.id.UUID">Instantiator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="newModuleClassID()"><!-- --></A><H3>newModuleClassID</H3><PRE>public <A HREF="../../../../../net/jxta/platform/ModuleClassID.html" title="class in net.jxta.platform">ModuleClassID</A> <B>newModuleClassID</B>()</PRE><DL><DD>Creates a new ModuleClassID instance. A new random ModuleClassID will  be generated with a zero value role identifier. This form of  ModuleClassID is appropriate for cases where the module does not  need to be distinguished from other instances of the same Module.  The ModuleClassID will be created using the default ID Format.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/id/IDFactory.Instantiator.html#newModuleClassID()">newModuleClassID</A></CODE> in interface <CODE><A HREF="../../../../../net/jxta/id/IDFactory.Instantiator.html" title="interface in net.jxta.id">IDFactory.Instantiator</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../net/jxta/impl/id/UUID/Instantiator.html#newModuleClassID()">newModuleClassID</A></CODE> in class <CODE><A HREF="../../../../../net/jxta/impl/id/UUID/Instantiator.html" title="class in net.jxta.impl.id.UUID">Instantiator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="newModuleClassID(net.jxta.platform.ModuleClassID)"><!-- --></A><H3>newModuleClassID</H3><PRE>public <A HREF="../../../../../net/jxta/platform/ModuleClassID.html" title="class in net.jxta.platform">ModuleClassID</A> <B>newModuleClassID</B>(<A HREF="../../../../../net/jxta/platform/ModuleClassID.html" title="class in net.jxta.platform">ModuleClassID</A>&nbsp;classID)</PRE><DL><DD>Creates a new ModuleClassID instance. A new random ModuleClassID will  be generated with a a random value role identifier and a base class of  the provided ModuleClassID. This form of ModuleClassID is  appropriate for cases where it is necessary to distinguish instances  of the same service interface.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/id/IDFactory.Instantiator.html#newModuleClassID(net.jxta.platform.ModuleClassID)">newModuleClassID</A></CODE> in interface <CODE><A HREF="../../../../../net/jxta/id/IDFactory.Instantiator.html" title="interface in net.jxta.id">IDFactory.Instantiator</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../net/jxta/impl/id/UUID/Instantiator.html#newModuleClassID(net.jxta.platform.ModuleClassID)">newModuleClassID</A></CODE> in class <CODE><A HREF="../../../../../net/jxta/impl/id/UUID/Instantiator.html" title="class in net.jxta.impl.id.UUID">Instantiator</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="newModuleSpecID(net.jxta.platform.ModuleClassID)"><!-- --></A><H3>newModuleSpecID</H3><PRE>public <A HREF="../../../../../net/jxta/platform/ModuleSpecID.html" title="class in net.jxta.platform">ModuleSpecID</A> <B>newModuleSpecID</B>(<A HREF="../../../../../net/jxta/platform/ModuleClassID.html" title="class in net.jxta.platform">ModuleClassID</A>&nbsp;classID)</PRE><DL><DD>Creates a new  ModuleSpecID instance. A new random ModuleSpecID will  be generated.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/id/IDFactory.Instantiator.html#newModuleSpecID(net.jxta.platform.ModuleClassID)">newModuleSpecID</A></CODE> in interface <CODE><A HREF="../../../../../net/jxta/id/IDFactory.Instantiator.html" title="interface in net.jxta.id">IDFactory.Instantiator</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../net/jxta/impl/id/UUID/Instantiator.html#newModuleSpecID(net.jxta.platform.ModuleClassID)">newModuleSpecID</A></CODE> in class <CODE><A HREF="../../../../../net/jxta/impl/id/UUID/Instantiator.html" title="class in net.jxta.impl.id.UUID">Instantiator</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=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/Instantiator.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;<A HREF="../../../../../net/jxta/impl/id/CBID/IDFormat.html" title="class in net.jxta.impl.id.CBID"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../net/jxta/impl/id/CBID/ModuleClassID.html" title="class in net.jxta.impl.id.CBID"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Instantiator.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 + -