📄 resolverquerymsg.html
字号:
<BR> Process the resolver query, and generate response it is the responsibilty of the handler to send the response <p/><pre> result = processIncommingQuery(query); if (result != null) { resolver.sendResponse(query.getSrc(), response); return ResolverService.OK; } else return ResolverService.Repropagate; </pre></TD></TR></TABLE> <P><A NAME="net.jxta.impl.endpoint.router"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A> in <A HREF="../../../../net/jxta/impl/endpoint/router/package-summary.html">net.jxta.impl.endpoint.router</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../net/jxta/impl/endpoint/router/package-summary.html">net.jxta.impl.endpoint.router</A> with parameters of type <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A></FONT></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>RouteResolver.</B><B><A HREF="../../../../net/jxta/impl/endpoint/router/RouteResolver.html#processQuery(net.jxta.protocol.ResolverQueryMsg)">processQuery</A></B>(<A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A> query)</CODE><BR> Process the Query, and generate response</TD></TR></TABLE> <P><A NAME="net.jxta.impl.peer"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A> in <A HREF="../../../../net/jxta/impl/peer/package-summary.html">net.jxta.impl.peer</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../net/jxta/impl/peer/package-summary.html">net.jxta.impl.peer</A> with parameters of type <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A></FONT></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>PeerInfoServiceImpl.PipQueryHandler.</B><B><A HREF="../../../../net/jxta/impl/peer/PeerInfoServiceImpl.PipQueryHandler.html#processQuery(net.jxta.protocol.ResolverQueryMsg)">processQuery</A></B>(<A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A> query)</CODE><BR> </TD></TR></TABLE> <P><A NAME="net.jxta.impl.pipe"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A> in <A HREF="../../../../net/jxta/impl/pipe/package-summary.html">net.jxta.impl.pipe</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../net/jxta/impl/pipe/package-summary.html">net.jxta.impl.pipe</A> with parameters of type <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A></FONT></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>PipeResolver.</B><B><A HREF="../../../../net/jxta/impl/pipe/PipeResolver.html#processQuery(net.jxta.protocol.ResolverQueryMsg)">processQuery</A></B>(<A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A> query)</CODE><BR> Process the resolver query, and generate response it is the responsibilty of the handler to send the response <p/><pre> result = processIncommingQuery(query); if (result != null) { resolver.sendResponse(query.getSrc(), response); return ResolverService.OK; } else return ResolverService.Repropagate; </pre></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>PipeResolver.</B><B><A HREF="../../../../net/jxta/impl/pipe/PipeResolver.html#processQuery(net.jxta.protocol.ResolverQueryMsg, net.jxta.endpoint.EndpointAddress)">processQuery</A></B>(<A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A> query, <A HREF="../../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A> srcAddr)</CODE><BR> Process the resolver query, and generate response it is the responsibilty of the handler to send the response <p/><pre> result = processIncommingQuery(query); if (result != null) { resolver.sendResponse(query.getSrc(), response); return resolver.OK; } else return resolver.Repropagate; </pre></TD></TR></TABLE> <P><A NAME="net.jxta.impl.protocol"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A> in <A HREF="../../../../net/jxta/impl/protocol/package-summary.html">net.jxta.impl.protocol</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Subclasses of <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A> in <A HREF="../../../../net/jxta/impl/protocol/package-summary.html">net.jxta.impl.protocol</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/protocol/ResolverQuery.html" title="class in net.jxta.impl.protocol">ResolverQuery</A></B></CODE><BR> Implements the Resolver Query Message according to the schema defined by the core JXTA Peer Resolver Protocol (PRP). </TD></TR></TABLE> <P><A NAME="net.jxta.impl.resolver"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A> in <A HREF="../../../../net/jxta/impl/resolver/package-summary.html">net.jxta.impl.resolver</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../net/jxta/impl/resolver/package-summary.html">net.jxta.impl.resolver</A> with parameters of type <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A></FONT></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>ResolverServiceImpl.</B><B><A HREF="../../../../net/jxta/impl/resolver/ResolverServiceImpl.html#sendQuery(java.lang.String, net.jxta.protocol.ResolverQueryMsg)">sendQuery</A></B>(java.lang.String rdvPeer, <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A> query)</CODE><BR> For Services that wish to implement a ResolverService they must implement this interface Sends query to the specified address. If address is null the query is propagated</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>InternalQueryHandler.</B><B><A HREF="../../../../net/jxta/impl/resolver/InternalQueryHandler.html#processQuery(net.jxta.protocol.ResolverQueryMsg, net.jxta.endpoint.EndpointAddress)">processQuery</A></B>(<A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A> query, <A HREF="../../../../net/jxta/endpoint/EndpointAddress.html" title="class in net.jxta.endpoint">EndpointAddress</A> srcAddr)</CODE><BR> Process the resolver query, and generate response it is the responsibilty of the handler to send the response <p/> result = processIncommingQuery(query); if (result !</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>ResolverServiceInterface.</B><B><A HREF="../../../../net/jxta/impl/resolver/ResolverServiceInterface.html#sendQuery(java.lang.String, net.jxta.protocol.ResolverQueryMsg)">sendQuery</A></B>(java.lang.String rdvPeer, <A HREF="../../../../net/jxta/protocol/ResolverQueryMsg.html" title="class in net.jxta.protocol">ResolverQueryMsg</A> query)</CODE><BR> For Services that wish to implement a ResolverService they must implement this interface Sends query to the specified address. If address is null the query is propagated</TD></TR></TABLE> <P><A NAME="net.jxta.impl.resolver.resolverMeter"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -