📄 piperesolver.html
字号:
<PRE>public void <B>messageSendFailed</B>(<A HREF="../../../../net/jxta/peer/PeerID.html" title="class in net.jxta.peer">PeerID</A> peerid, <A HREF="../../../../net/jxta/endpoint/OutgoingMessageEvent.html" title="class in net.jxta.endpoint">OutgoingMessageEvent</A> e)</PRE><DL><DD>Resolver calls this method when a failure to send a message to specified peer occurs<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/resolver/SrdiHandler.html#messageSendFailed(net.jxta.peer.PeerID, net.jxta.endpoint.OutgoingMessageEvent)">messageSendFailed</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/resolver/SrdiHandler.html" title="interface in net.jxta.resolver">SrdiHandler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>peerid</CODE> - peerid failure occured on</DL></DD></DL><HR><A NAME="pushEntries(boolean)"><!-- --></A><H3>pushEntries</H3><PRE>public void <B>pushEntries</B>(boolean all)</PRE><DL><DD>Pushe SRDI entries.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/impl/cm/Srdi.SrdiInterface.html#pushEntries(boolean)">pushEntries</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/impl/cm/Srdi.SrdiInterface.html" title="interface in net.jxta.impl.cm">Srdi.SrdiInterface</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>all</CODE> - if true then push all entries otherwise just push those which have changed since the last push.</DL></DD></DL><HR><A NAME="stop()"><!-- --></A><H3>stop</H3><PRE>void <B>stop</B>()</PRE><DL><DD>unregisters the resolver handler<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="register(net.jxta.pipe.InputPipe)"><!-- --></A><H3>register</H3><PRE>public boolean <B>register</B>(<A HREF="../../../../net/jxta/pipe/InputPipe.html" title="interface in net.jxta.pipe">InputPipe</A> ip)</PRE><DL><DD>Register that this peer is an InputPipe for the specified Pipe ID.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/impl/pipe/PipeRegistrar.html#register(net.jxta.pipe.InputPipe)">register</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/impl/pipe/PipeRegistrar.html" title="interface in net.jxta.impl.pipe">PipeRegistrar</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ip</CODE> - the pipe object</DL></DD></DL><HR><A NAME="findLocal(net.jxta.pipe.PipeID)"><!-- --></A><H3>findLocal</H3><PRE>public <A HREF="../../../../net/jxta/pipe/InputPipe.html" title="interface in net.jxta.pipe">InputPipe</A> <B>findLocal</B>(<A HREF="../../../../net/jxta/pipe/PipeID.html" title="class in net.jxta.pipe">PipeID</A> pipeID)</PRE><DL><DD>Return the local <A HREF="../../../../net/jxta/pipe/InputPipe.html" title="interface in net.jxta.pipe"><CODE>InputPipe</CODE></A>, if any, for the specified <A HREF="../../../../net/jxta/pipe/PipeID.html" title="class in net.jxta.pipe"><CODE>PipeID</CODE></A>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pipeID</CODE> - the PipeID who's InputPipe is desired.<DT><B>Returns:</B><DD>The InputPipe object.</DL></DD></DL><HR><A NAME="forget(net.jxta.pipe.InputPipe)"><!-- --></A><H3>forget</H3><PRE>public boolean <B>forget</B>(<A HREF="../../../../net/jxta/pipe/InputPipe.html" title="interface in net.jxta.pipe">InputPipe</A> pipe)</PRE><DL><DD>This peer is no longer listening on the specified pipe.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/impl/pipe/PipeRegistrar.html#forget(net.jxta.pipe.InputPipe)">forget</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/impl/pipe/PipeRegistrar.html" title="interface in net.jxta.impl.pipe">PipeRegistrar</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the pipe was removed otherwise false.</DL></DD></DL><HR><A NAME="addListener(net.jxta.pipe.PipeID, net.jxta.impl.pipe.PipeResolver.Listener, int)"><!-- --></A><H3>addListener</H3><PRE>boolean <B>addListener</B>(<A HREF="../../../../net/jxta/pipe/PipeID.html" title="class in net.jxta.pipe">PipeID</A> pipeID, <A HREF="../../../../net/jxta/impl/pipe/PipeResolver.Listener.html" title="interface in net.jxta.impl.pipe">PipeResolver.Listener</A> listener, int queryID)</PRE><DL><DD>Add a pipe resolver listener<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - listener</DL></DD></DL><HR><A NAME="callListener(int, net.jxta.pipe.PipeID, java.lang.String, net.jxta.peer.PeerID, boolean)"><!-- --></A><H3>callListener</H3><PRE>void <B>callListener</B>(int qid, <A HREF="../../../../net/jxta/pipe/PipeID.html" title="class in net.jxta.pipe">PipeID</A> pipeID, java.lang.String type, <A HREF="../../../../net/jxta/peer/PeerID.html" title="class in net.jxta.peer">PeerID</A> peer, boolean NAK)</PRE><DL><DD>Call the listener for the specified pipe id informing it about the specified peer.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>qid</CODE> - The query this callback is being made in response to.<DD><CODE>pipeID</CODE> - The pipe which is the subject of the event.<DD><CODE>type</CODE> - The type of the pipe which is the subject of the event.<DD><CODE>peer</CODE> - The peer on which the remote input pipe was found.</DL></DD></DL><HR><A NAME="removeListener(net.jxta.pipe.PipeID, int)"><!-- --></A><H3>removeListener</H3><PRE><A HREF="../../../../net/jxta/impl/pipe/PipeResolver.Listener.html" title="interface in net.jxta.impl.pipe">PipeResolver.Listener</A> <B>removeListener</B>(<A HREF="../../../../net/jxta/pipe/PipeID.html" title="class in net.jxta.pipe">PipeID</A> pipeID, int queryID)</PRE><DL><DD>Remove a pipe resolver listener<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>listener object removed</DL></DD></DL><HR><A NAME="sendPipeQuery(net.jxta.protocol.PipeAdvertisement, java.util.Set, int)"><!-- --></A><H3>sendPipeQuery</H3><PRE>int <B>sendPipeQuery</B>(<A HREF="../../../../net/jxta/protocol/PipeAdvertisement.html" title="class in net.jxta.protocol">PipeAdvertisement</A> adv, java.util.Set acceptablePeers, int queryID)</PRE><DL><DD>Send a request to find an input pipe<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>adv</CODE> - the advertisement for the pipe we are seeking.<DD><CODE>acceptablePeers</CODE> - the set of peers at which we wish the pipe to be resolved. We will not accept responses from peers other than those in this set. Empty set means all peers are acceptable.<DD><CODE>queryID</CODE> - the query ID to use for the query. if zero then a query ID will be generated<DT><B>Returns:</B><DD>the query id under which the request was sent</DL></DD></DL><HR><A NAME="getSrdiIndex()"><!-- --></A><H3>getSrdiIndex</H3><PRE><A HREF="../../../../net/jxta/impl/cm/SrdiIndex.html" title="class in net.jxta.impl.cm">SrdiIndex</A> <B>getSrdiIndex</B>()</PRE><DL><DD>{@inheritDoc}<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="pushSrdi(net.jxta.pipe.InputPipe, boolean)"><!-- --></A><H3>pushSrdi</H3><PRE>void <B>pushSrdi</B>(<A HREF="../../../../net/jxta/pipe/InputPipe.html" title="interface in net.jxta.pipe">InputPipe</A> ip, boolean adding)</PRE><DL><DD>Push SRDI entry for the specified pipe<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ip</CODE> - the pipe who's entry we are pushing<DD><CODE>adding</CODE> - adding an entry for the pipe or expiring the entry?</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PipeResolver.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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"> <A HREF="../../../../net/jxta/impl/pipe/NonBlockingWireOutputPipe.workerState.html" title="class in net.jxta.impl.pipe"><B>PREV CLASS</B></A> <A HREF="../../../../net/jxta/impl/pipe/PipeResolver.Event.html" title="class in net.jxta.impl.pipe"><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> <A HREF="PipeResolver.html" target="_top"><B>NO FRAMES</B></A> <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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + -