?? rdvpeergroup.html
字號(hào):
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/rdvpeergroup/RdvPeerGroup.html#joinAsControlPeer(net.jxta.rendezvous.RendezvousListener)">joinAsControlPeer</A></B>(<A HREF="../../../../net/jxta/rendezvous/RendezvousListener.html" title="interface in net.jxta.rendezvous">RendezvousListener</A> listener)</CODE><BR> Joins the RdvPeerGroup as a control peer (rdv peer).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/rdvpeergroup/RdvPeerGroup.html#joinAsGuestPeer(net.jxta.rendezvous.RendezvousListener)">joinAsGuestPeer</A></B>(<A HREF="../../../../net/jxta/rendezvous/RendezvousListener.html" title="interface in net.jxta.rendezvous">RendezvousListener</A> listener)</CODE><BR> Joins the RdvPeerGroup as a guest peer (PeerView only).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/rdvpeergroup/RdvPeerGroup.html#joinAsPrimaryPeer(net.jxta.rendezvous.RendezvousListener)">joinAsPrimaryPeer</A></B>(<A HREF="../../../../net/jxta/rendezvous/RendezvousListener.html" title="interface in net.jxta.rendezvous">RendezvousListener</A> listener)</CODE><BR> Joins the RdvPeerGroup as a primary peer (edge peer).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/rdvpeergroup/RdvPeerGroup.html#leave()">leave</A></B>()</CODE><BR> Leaves (quit) the RdvPeerGroup</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/rdvpeergroup/RdvPeerGroup.html#peerViewEvent(net.jxta.impl.rendezvous.rpv.PeerViewEvent)">peerViewEvent</A></B>(<A HREF="../../../../net/jxta/impl/rendezvous/rpv/PeerViewEvent.html" title="class in net.jxta.impl.rendezvous.rpv">PeerViewEvent</A> event)</CODE><BR> peerViewEvent the peerview event</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/rdvpeergroup/RdvPeerGroup.html#rendezvousEvent(net.jxta.rendezvous.RendezvousEvent)">rendezvousEvent</A></B>(<A HREF="../../../../net/jxta/rendezvous/RendezvousEvent.html" title="class in net.jxta.rendezvous">RendezvousEvent</A> event)</CODE><BR> Called when an event occurs for the Rendezvous service</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/rdvpeergroup/RdvPeerGroup.html#startApp(java.lang.String[])">startApp</A></B>(java.lang.String[] args)</CODE><BR> Some Modules will wait for this method being invoked, before completing their initializatino to the point that they are fully functional. That is also the opportunity to supply arbitrary arguments (mostly to applications). <p/>If this module is a <A HREF="../../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup"><CODE>PeerGroup</CODE></A> service, it may be invoked several times depending on its return value. <p/>Note: the name of this method is historical and no-longer adequate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/rdvpeergroup/RdvPeerGroup.html#stopApp()">stopApp</A></B>()</CODE><BR> One can ask a Module to stop. The Module cannot be forced to comply, but in the future we might be able to deny it access to anything after some timeout. <p/>Note: the name of this method is no-longer adequate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/ext/rdvpeergroup/RdvPeerGroup.html#unref()">unref</A></B>()</CODE><BR> Explicitly notifies a group interface that it will no-longer be used (similar to dispose). Does nothing to a real group object, only has an effect on a group interface.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_net.jxta.peergroup.LightWeightPeerGroup"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class net.jxta.peergroup.<A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html" title="class in net.jxta.peergroup">LightWeightPeerGroup</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#compatible(net.jxta.document.Element)">compatible</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getAccessService()">getAccessService</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getAllPurposePeerGroupImplAdvertisement()">getAllPurposePeerGroupImplAdvertisement</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getConfigAdvertisement()">getConfigAdvertisement</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getDiscoveryService()">getDiscoveryService</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getEndpointService()">getEndpointService</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getHomeThreadGroup()">getHomeThreadGroup</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getImplAdvertisement()">getImplAdvertisement</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getInterface()">getInterface</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getLoader()">getLoader</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getMembershipService()">getMembershipService</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getParentGroup()">getParentGroup</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getPeerAdvertisement()">getPeerAdvertisement</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getPeerGroupAdvertisement()">getPeerGroupAdvertisement</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getPeerGroupID()">getPeerGroupID</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getPeerGroupName()">getPeerGroupName</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getPeerID()">getPeerID</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getPeerInfoService()">getPeerInfoService</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getPeerName()">getPeerName</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getPipeService()">getPipeService</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getResolverService()">getResolverService</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#getWeakInterface()">getWeakInterface</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#loadModule(net.jxta.id.ID, net.jxta.document.Advertisement)">loadModule</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#loadModule(net.jxta.id.ID, net.jxta.platform.ModuleSpecID, int)">loadModule</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#lookupService(net.jxta.id.ID)">lookupService</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#newGroup(net.jxta.document.Advertisement)">newGroup</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#newGroup(net.jxta.peergroup.PeerGroupID)">newGroup</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#newGroup(net.jxta.peergroup.PeerGroupID, net.jxta.document.Advertisement, java.lang.String, java.lang.String)">newGroup</A>, <A HREF="../../../../net/jxta/peergroup/LightWeightPeerGroup.html#publishGroup(java.lang.String, java.lang.String)">publishGroup</A></CODE></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> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="RdvPeerGroup(net.jxta.protocol.PeerGroupAdvertisement, net.jxta.peergroup.PeerGroup)"><!-- --></A><H3>RdvPeerGroup</H3><PRE>public <B>RdvPeerGroup</B>(<A HREF="../../../../net/jxta/protocol/PeerGroupAdvertisement.html" title="class in net.jxta.protocol">PeerGroupAdvertisement</A> adv, <A HREF="../../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup">PeerGroup</A> parentPeerGroup)</PRE><DL><DD>Constructor All classes that extend RdvPeerGroup must invoke this constructor. Note that this constructor does not join the PeerGroup.<P><DT><B>Parameters:</B><DD><CODE>adv</CODE> - PeerGroupAdvertisement of the RdvPeerGroup</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="joinAsPrimaryPeer(net.jxta.rendezvous.RendezvousListener)"><!-- --></A><H3>joinAsPrimaryPeer</H3><PRE>public boolean <B>joinAsPrimaryPeer</B>(<A HREF="../../../../net/jxta/rendezvous/RendezvousListener.html" title="interface in net.jxta.rendezvous">RendezvousListener</A> listener) throws java.io.IOException</PRE><DL><DD>Joins the RdvPeerGroup as a primary peer (edge peer).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - optional listener allowing the application to be asynchronously notified of the state of the connection.<DT><B>Returns:</B><DD>boolean true is returned when joining was authorized. False otherwise.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="joinAsControlPeer(net.jxta.rendezvous.RendezvousListener)"><!-- --></A><H3>joinAsControlPeer</H3><PRE>public boolean <B>joinAsControlPeer</B>(<A HREF="../../../../net/jxta/rendezvous/RendezvousListener.html" title="interface in net.jxta.rendezvous">RendezvousListener</A> listener) throws java.io.IOException</PRE><DL><DD>Joins the RdvPeerGroup as a control peer (rdv peer).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - optional listener allowing the application to be asynchronously notified of the state of the connection.<DT><B>Returns:</B><DD>boolean true is returned when joining was authorized. False otherwise.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="joinAsGuestPeer(net.jxta.rendezvous.RendezvousListener)"><!-- --></A><H3>joinAsGuestPeer</H3><PRE>public boolean <B>joinAsGuestPeer</B>(<A HREF="../../../../net/jxta/rendezvous/RendezvousListener.html" title="interface in net.jxta.rendezvous">RendezvousListener</A> listener) throws java.io.IOException</PRE><DL><DD>Joins the RdvPeerGroup as a guest peer (PeerView only).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - optional listener allowing the application to be asynchronously notified of the state of the connection.<DT><B>Returns:</B><DD>boolean true is returned when joining was authorized. False otherwise.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="leave()"><!-- --></A><H3>leave</H3><PRE>public void <B>leave</B>()</PRE><DL><DD>Leaves (quit) the RdvPeerGroup<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getControlPeers()"><!-- --></A><H3>getControlPeers</H3><PRE>public java.util.Enumeration <B>getControlPeers</B>()</PRE>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -