📄 rendezvousserviceprovider.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.PropagateListener.html" title="class in net.jxta.impl.rendezvous">RendezVousServiceProvider.PropagateListener</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#propagateListener">propagateListener</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#PropPName">PropPName</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#PropSName">PropSName</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#RdvAdvReply">RdvAdvReply</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceImpl.html" title="class in net.jxta.impl.rendezvous">RendezVousServiceImpl</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#rdvService">rdvService</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../net/jxta/impl/rendezvous/rendezvousMeter/RendezvousMeter.html" title="class in net.jxta.impl.rendezvous.rendezvousMeter">RendezvousMeter</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#rendezvousMeter">rendezvousMeter</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../net/jxta/impl/rendezvous/rendezvousMeter/RendezvousServiceMonitor.html" title="class in net.jxta.impl.rendezvous.rendezvousMeter">RendezvousServiceMonitor</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#rendezvousServiceMonitor">rendezvousServiceMonitor</A></B></CODE><BR> </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 ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected </CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#RendezVousServiceProvider(net.jxta.impl.rendezvous.RendezVousServiceImpl, net.jxta.peergroup.PeerGroup, net.jxta.peergroup.PeerGroup, net.jxta.id.ID, net.jxta.protocol.ConfigParams)">RendezVousServiceProvider</A></B>(<A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceImpl.html" title="class in net.jxta.impl.rendezvous">RendezVousServiceImpl</A> rdvService, <A HREF="../../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup">PeerGroup</A> g, <A HREF="../../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup">PeerGroup</A> advGroup, <A HREF="../../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A> assignedID, <A HREF="../../../../net/jxta/protocol/ConfigParams.html" title="class in net.jxta.protocol">ConfigParams</A> confAdv)</CODE><BR> </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>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#challengeRendezVous(net.jxta.id.ID, long)">challengeRendezVous</A></B>(<A HREF="../../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A> peer, long delay)</CODE><BR> Resets the local idea of the lease to the specified value. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#connectToRendezVous(net.jxta.endpoint.EndpointAddress)">connectToRendezVous</A></B>(<A HREF="../../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A> addr)</CODE><BR> Add a peer as a new RendezVousService point. </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/impl/rendezvous/RendezVousServiceProvider.html#connectToRendezVous(net.jxta.protocol.PeerAdvertisement)">connectToRendezVous</A></B>(<A HREF="../../../../net/jxta/protocol/PeerAdvertisement.html" title="class in net.jxta.protocol">PeerAdvertisement</A> adv)</CODE><BR> Add a peer as a new RendezVousService point. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#disconnectFromRendezVous(net.jxta.id.ID)">disconnectFromRendezVous</A></B>(<A HREF="../../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A> peerID)</CODE><BR> Remove a RendezVousService point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#gc()">gc</A></B>()</CODE><BR> Clean up any dead references.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.util.Vector</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#getConnectedPeerIDs()">getConnectedPeerIDs</A></B>()</CODE><BR> Returns a Vector of PeerID of the peers that are currentely connected.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#getConnectedPeers()">getConnectedPeers</A></B>()</CODE><BR> Returns an Enumeration of PeerID of the peers that are currentely connected.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#getConnectedRendezVous()">getConnectedRendezVous</A></B>()</CODE><BR> Returns an Enumeration of the PeerID all the RendezVous on which this Peer is currentely connected. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#getDisconnectedRendezVous()">getDisconnectedRendezVous</A></B>()</CODE><BR> Returns an Enumeration of the PeerID all the RendezVous on which this Peer failed to connect to.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.util.Vector</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#getLocalWalkView()">getLocalWalkView</A></B>()</CODE><BR> Returns an Enumeration of RdvAdvertisement of the local view of rendezvous peers. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#isConnectedToRendezVous()">isConnectedToRendezVous</A></B>()</CODE><BR> Return true if connected to a rendezvous.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected abstract boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#isMessageValid(net.jxta.impl.rendezvous.RendezVousPropagateMessage)">isMessageValid</A></B>(<A HREF="../../../../net/jxta/impl/rendezvous/RendezVousPropagateMessage.html" title="class in net.jxta.impl.rendezvous">RendezVousPropagateMessage</A> propHdr)</CODE><BR> {@inheritDoc}</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/impl/rendezvous/RendezVousServiceProvider.html#isPeerInPropHeader(net.jxta.endpoint.Message, net.jxta.id.ID)">isPeerInPropHeader</A></B>(<A HREF="../../../../net/jxta/endpoint/Message.html" title="class in net.jxta.endpoint">Message</A> msg, <A HREF="../../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A> peer)</CODE><BR> Check if a particular peer has already received the propagated message, based on the Propagation header embedded within the message.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#isRendezVous()">isRendezVous</A></B>()</CODE><BR> tells whether this rendezvous service currently acts as a "super-node" "rendezvous", knowlege hub, influence broker, or whichever higher status applies to the implementation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static <A HREF="../../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#mkAddress(net.jxta.id.ID, java.lang.String, java.lang.String)">mkAddress</A></B>(<A HREF="../../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A> destPeer, java.lang.String serv, java.lang.String parm)</CODE><BR> Convenience method for constructing an endpoint address from an id</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#mkAddress(java.lang.String, java.lang.String, java.lang.String)">mkAddress</A></B>(java.lang.String destPeer, java.lang.String serv, java.lang.String parm)</CODE><BR> Convenience method for constructing an endpoint address from an id</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#processReceivedMessage(net.jxta.endpoint.Message, java.lang.String, java.lang.String, net.jxta.endpoint.EndpointAddress, net.jxta.endpoint.EndpointAddress)">processReceivedMessage</A></B>(<A HREF="../../../../net/jxta/endpoint/Message.html" title="class in net.jxta.endpoint">Message</A> message, java.lang.String sName, java.lang.String sParam, <A HREF="../../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A> srcAddr, <A HREF="../../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A> dstAddr)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#propagate(java.util.Enumeration, net.jxta.endpoint.Message, java.lang.String, java.lang.String, int)">propagate</A></B>(java.util.Enumeration destPeerIds, <A HREF="../../../../net/jxta/endpoint/Message.html" title="class in net.jxta.endpoint">Message</A> msg, java.lang.String serviceName, java.lang.String serviceParam, int defaultTTL)</CODE><BR> Propagates a message onto as many peers on the local network as possible. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#propagate(net.jxta.endpoint.Message, java.lang.String, java.lang.String, int)">propagate</A></B>(<A HREF="../../../../net/jxta/endpoint/Message.html" title="class in net.jxta.endpoint">Message</A> msg, java.lang.String serviceName, java.lang.String serviceParam, int defaultTTL)</CODE><BR> Propagates a message onto as many peers on the local network as possible. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#propagateInGroup(net.jxta.endpoint.Message, java.lang.String, java.lang.String, int, java.lang.String)">propagateInGroup</A></B>(<A HREF="../../../../net/jxta/endpoint/Message.html" title="class in net.jxta.endpoint">Message</A> msg, java.lang.String serviceName, java.lang.String serviceParam, int defaultTTL, java.lang.String prunePeer)</CODE><BR> Propagates a message onto as many peers in the group as possible. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#propagateToNeighbors(net.jxta.endpoint.Message, java.lang.String, java.lang.String, int, java.lang.String)">propagateToNeighbors</A></B>(<A HREF="../../../../net/jxta/endpoint/Message.html" title="class in net.jxta.endpoint">Message</A> msg, java.lang.String serviceName, java.lang.String serviceParam, int defaultTTL, java.lang.String prunePeer)</CODE><BR> Propagates a message onto as many peers on the local network as possible. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/rendezvous/RendezVousServiceProvider.html#reconnectToRendezVous(net.jxta.id.ID)">reconnectToRendezVous</A></B>(<A HREF="../../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A> peer)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -