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

📄 discoveryresponse.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<CODE>&nbsp;<A HREF="../../../../net/jxta/protocol/PeerAdvertisement.html" title="class in net.jxta.protocol">PeerAdvertisement</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/protocol/DiscoveryResponse.html#getPeerAdvertisement()">getPeerAdvertisement</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the peerAdvertisement attribute of the DiscoveryResponse object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../net/jxta/impl/protocol/DiscoveryResponse.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return the string representaion of this doc</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_net.jxta.protocol.DiscoveryResponseMsg"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class net.jxta.protocol.<A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html" title="class in net.jxta.protocol">DiscoveryResponseMsg</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#getAdvertisementType()">getAdvertisementType</A>, <A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#getDiscoveryType()">getDiscoveryType</A>, <A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#getExpirations()">getExpirations</A>, <A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#getPeerAdv()">getPeerAdv</A>, <A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#getQueryAttr()">getQueryAttr</A>, <A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#getQueryValue()">getQueryValue</A>, <A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#getResponseCount()">getResponseCount</A>, <A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#getResponses()">getResponses</A>, <A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#setAdvertisements(java.util.Vector)">setAdvertisements</A>, <A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#setDiscoveryType(int)">setDiscoveryType</A>, <A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#setExpirations(java.util.Vector)">setExpirations</A>, <A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#setPeerAdv(java.lang.String)">setPeerAdv</A>, <A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#setQueryAttr(java.lang.String)">setQueryAttr</A>, <A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#setQueryValue(java.lang.String)">setQueryValue</A>, <A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#setResponseCount(int)">setResponseCount</A>, <A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#setResponses(java.util.Vector)">setResponses</A></CODE></TD></TR></TABLE>&nbsp;<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, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<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="DiscoveryResponse(java.io.InputStream)"><!-- --></A><H3>DiscoveryResponse</H3><PRE>public <B>DiscoveryResponse</B>(java.io.InputStream&nbsp;stream)                  throws java.io.IOException</PRE><DL><DD>Construct a doc from InputStream<P><DT><B>Parameters:</B><DD><CODE>stream</CODE> - Description of the Parameter<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - Description of the Exception</DL><HR><A NAME="DiscoveryResponse(int, int, java.lang.String, java.lang.String, java.lang.String, java.util.Vector, java.util.Vector)"><!-- --></A><H3>DiscoveryResponse</H3><PRE>public <B>DiscoveryResponse</B>(int&nbsp;count,                         int&nbsp;type,                         java.lang.String&nbsp;peeradv,                         java.lang.String&nbsp;attr,                         java.lang.String&nbsp;value,                         java.util.Vector&nbsp;responses,                         java.util.Vector&nbsp;expirations)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>use the individual setters.</I><P><DD>Construct a doc from strings<P><DT><B>Parameters:</B><DD><CODE>count</CODE> - Response count<DD><CODE>type</CODE> - Discovery type<DD><CODE>peeradv</CODE> - Src Peer Advertisement<DD><CODE>attr</CODE> - attribute associated with the response<DD><CODE>value</CODE> - value associated with the response<DD><CODE>responses</CODE> - Vector of string responses<DD><CODE>expirations</CODE> - associated expirations</DL><HR><A NAME="DiscoveryResponse(net.jxta.document.Element)"><!-- --></A><H3>DiscoveryResponse</H3><PRE>public <B>DiscoveryResponse</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A>&nbsp;root)</PRE><DL><DD>Construct from a StructuredDocument<P><DT><B>Parameters:</B><DD><CODE>root</CODE> - Description of the Parameter</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="getAdvertisements()"><!-- --></A><H3>getAdvertisements</H3><PRE>public java.util.Enumeration <B>getAdvertisements</B>()</PRE><DL><DD>Gets the advertisements attribute of the DiscoveryResponse object<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#getAdvertisements()">getAdvertisements</A></CODE> in class <CODE><A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html" title="class in net.jxta.protocol">DiscoveryResponseMsg</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The advertisements value</DL></DD></DL><HR><A NAME="getDocument(net.jxta.document.MimeMediaType)"><!-- --></A><H3>getDocument</H3><PRE>public <A HREF="../../../../net/jxta/document/Document.html" title="interface in net.jxta.document">Document</A> <B>getDocument</B>(<A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A>&nbsp;asMimeType)</PRE><DL><DD>return a Document represetation of this object<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#getDocument(net.jxta.document.MimeMediaType)">getDocument</A></CODE> in class <CODE><A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html" title="class in net.jxta.protocol">DiscoveryResponseMsg</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>asMimeType</CODE> - Description of the Parameter<DT><B>Returns:</B><DD>The document value</DL></DD></DL><HR><A NAME="getPeerAdvertisement()"><!-- --></A><H3>getPeerAdvertisement</H3><PRE>public <A HREF="../../../../net/jxta/protocol/PeerAdvertisement.html" title="class in net.jxta.protocol">PeerAdvertisement</A> <B>getPeerAdvertisement</B>()</PRE><DL><DD>Gets the peerAdvertisement attribute of the DiscoveryResponse object<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html#getPeerAdvertisement()">getPeerAdvertisement</A></CODE> in class <CODE><A HREF="../../../../net/jxta/protocol/DiscoveryResponseMsg.html" title="class in net.jxta.protocol">DiscoveryResponseMsg</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The peerAdvertisement value</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>return the string representaion of this doc<P><DD><DL><DT><B>Returns:</B><DD>String representation of this message</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DiscoveryResponse.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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">&nbsp;<A HREF="../../../../net/jxta/impl/protocol/DiscoveryQuery.html" title="class in net.jxta.impl.protocol"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../net/jxta/impl/protocol/HTTPAdv.html" title="class in net.jxta.impl.protocol"><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>  &nbsp;&nbsp;<A HREF="DiscoveryResponse.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_net.jxta.protocol.DiscoveryResponseMsg">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -