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

📄 stdpeergroup.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.jxta.impl.peergroup.StdPeerGroup.stdUri">Constant Field Values</A></DL></DL><HR><A NAME="stdProvider"><!-- --></A><H3>stdProvider</H3><PRE>public static final java.lang.String <B>stdProvider</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.jxta.impl.peergroup.StdPeerGroup.stdProvider">Constant Field Values</A></DL></DL><HR><A NAME="compatKey1"><!-- --></A><H3>compatKey1</H3><PRE>static final java.lang.String <B>compatKey1</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.jxta.impl.peergroup.StdPeerGroup.compatKey1">Constant Field Values</A></DL></DL><HR><A NAME="compatKey2"><!-- --></A><H3>compatKey2</H3><PRE>static final java.lang.String <B>compatKey2</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.jxta.impl.peergroup.StdPeerGroup.compatKey2">Constant Field Values</A></DL></DL><HR><A NAME="compatVal1"><!-- --></A><H3>compatVal1</H3><PRE>static final java.lang.String <B>compatVal1</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.jxta.impl.peergroup.StdPeerGroup.compatVal1">Constant Field Values</A></DL></DL><HR><A NAME="compatVal2"><!-- --></A><H3>compatVal2</H3><PRE>static final java.lang.String <B>compatVal2</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.jxta.impl.peergroup.StdPeerGroup.compatVal2">Constant Field Values</A></DL></DL><HR><A NAME="disabledModules"><!-- --></A><H3>disabledModules</H3><PRE>java.util.Vector <B>disabledModules</B></PRE><DL><DL></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="StdPeerGroup()"><!-- --></A><H3>StdPeerGroup</H3><PRE>public <B>StdPeerGroup</B>()</PRE><DL><DD>constructor<P></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="mkImplAdvBuiltin(net.jxta.platform.ModuleSpecID, java.lang.String, java.lang.String)"><!-- --></A><H3>mkImplAdvBuiltin</H3><PRE>protected <A HREF="../../../../net/jxta/protocol/ModuleImplAdvertisement.html" title="class in net.jxta.protocol">ModuleImplAdvertisement</A> <B>mkImplAdvBuiltin</B>(<A HREF="../../../../net/jxta/platform/ModuleSpecID.html" title="class in net.jxta.platform">ModuleSpecID</A>&nbsp;specID,                                                   java.lang.String&nbsp;code,                                                   java.lang.String&nbsp;descr)</PRE><DL><DD>An internal convenience method essentialy for bootstraping. Make a standard ModuleImplAdv for any service that comes builtin this reference implementation. In most cases there are no params, so we do not take that argument. The invoker may add params afterwards.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="compatible(net.jxta.document.Element)"><!-- --></A><H3>compatible</H3><PRE>public boolean <B>compatible</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;compat)</PRE><DL><DD>Evaluates if the given compatibility statement makes the module that bears it is lodable by this group.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/impl/peergroup/CompatibilityEquater.html#compatible(net.jxta.document.Element)">compatible</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/impl/peergroup/CompatibilityEquater.html" title="interface in net.jxta.impl.peergroup">CompatibilityEquater</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/impl/peergroup/GenericPeerGroup.html#compatible(net.jxta.document.Element)">compatible</A></CODE> in class <CODE><A HREF="../../../../net/jxta/impl/peergroup/GenericPeerGroup.html" title="class in net.jxta.impl.peergroup">GenericPeerGroup</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>boolean True if the given statement is compatible.</DL></DD></DL><HR><A NAME="isCompatible(net.jxta.document.Element)"><!-- --></A><H3>isCompatible</H3><PRE>public static boolean <B>isCompatible</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;compat)</PRE><DL><DD>Evaluates if the given compatibility statement makes the module that bears it is lodable by this group.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>boolean True if the given statement is compatible.</DL></DD></DL><HR><A NAME="loadAllModules(java.util.Hashtable, net.jxta.platform.ModuleClassID, boolean)"><!-- --></A><H3>loadAllModules</H3><PRE>protected void <B>loadAllModules</B>(java.util.Hashtable&nbsp;modules,                              <A HREF="../../../../net/jxta/platform/ModuleClassID.html" title="class in net.jxta.platform">ModuleClassID</A>&nbsp;thisClassOnly,                              boolean&nbsp;privileged)</PRE><DL><DD>Builds a table of modules indexed by their class ID. The values are the loaded modules, the keys are their classId. This routine interprets the parameter list in the advertisement.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>modules</CODE> - The modules to load<DD><CODE>thisClassOnly</CODE> - load only the module specified from the map<DD><CODE>privileged</CODE> - if true then modules will get a real reference to  the group loading them, otherwise its an interface object.</DL></DD></DL><HR><A NAME="startApp(java.lang.String[])"><!-- --></A><H3>startApp</H3><PRE>public int <B>startApp</B>(java.lang.String[]&nbsp;arg)</PRE><DL><DD>The group does not care for start args, and does not come-up with args to pass to its main app. So, until we decide on something more usefull, the args of the group's startApp are passed-on to the group's main app. NB: both the apps init and startApp methods are invoked.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/platform/Module.html#startApp(java.lang.String[])">startApp</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/platform/Module.html" title="interface in net.jxta.platform">Module</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/jxta/impl/peergroup/GenericPeerGroup.html#startApp(java.lang.String[])">startApp</A></CODE> in class <CODE><A HREF="../../../../net/jxta/impl/peergroup/GenericPeerGroup.html" title="class in net.jxta.impl.peergroup">GenericPeerGroup</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>int Status.</DL></DD></DL><HR><A NAME="stopApp()"><!-- --></A><H3>stopApp</H3><PRE>public void <B>stopApp</B>()</PRE><DL><DD>Stops the group and all its services. <p/>PeerGroupInterface's stopApp() does nothing. Only a real reference to the group object permits to stop it without going through ref

⌨️ 快捷键说明

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