📄 piperesolvermessage.html
字号:
<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="PipeResolverMessage()"><!-- --></A><H3>PipeResolverMessage</H3><PRE>public <B>PipeResolverMessage</B>()</PRE><DL><DD>Creates a new unitialized pipe resolver message<P></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="getMessageType()"><!-- --></A><H3>getMessageType</H3><PRE>public static java.lang.String <B>getMessageType</B>()</PRE><DL><DD>returns the Message type. This will match the XML doctype declaration.<P><DD><DL><DT><B>Returns:</B><DD>a string</DL></DD></DL><HR><A NAME="getDocument(net.jxta.document.MimeMediaType)"><!-- --></A><H3>getDocument</H3><PRE>public abstract <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> asMimeType)</PRE><DL><DD>Write message into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested. Two standard document forms are defined. "text/plain" encodes the document in "pretty-print" format for human viewing and "text/xml" which provides an XML format.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>asMimeType</CODE> - MimeMediaType format representation requested<DT><B>Returns:</B><DD>Document the document to be used in the construction</DL></DD></DL><HR><A NAME="getMsgType()"><!-- --></A><H3>getMsgType</H3><PRE>public <A HREF="../../../net/jxta/protocol/PipeResolverMessage.MessageType.html" title="class in net.jxta.protocol">PipeResolverMessage.MessageType</A> <B>getMsgType</B>()</PRE><DL><DD>Returns whether this message is a query or a response.<P><DD><DL><DT><B>Returns:</B><DD>the type of this message.</DL></DD></DL><HR><A NAME="setMsgType(net.jxta.protocol.PipeResolverMessage.MessageType)"><!-- --></A><H3>setMsgType</H3><PRE>public void <B>setMsgType</B>(<A HREF="../../../net/jxta/protocol/PipeResolverMessage.MessageType.html" title="class in net.jxta.protocol">PipeResolverMessage.MessageType</A> type)</PRE><DL><DD>Sets the message type of this message.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - the type this message is to be.</DL></DD></DL><HR><A NAME="getPipeID()"><!-- --></A><H3>getPipeID</H3><PRE>public <A HREF="../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A> <B>getPipeID</B>()</PRE><DL><DD>Return the id of the pipe which is the subject of this message.<P><DD><DL><DT><B>Returns:</B><DD>the id of the pipe which is the subject of this message.</DL></DD></DL><HR><A NAME="setPipeID(net.jxta.id.ID)"><!-- --></A><H3>setPipeID</H3><PRE>public void <B>setPipeID</B>(<A HREF="../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A> id)</PRE><DL><DD>Set the id of pipe which is to be subject of this message.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - the pipe id which is the subject of this message.</DL></DD></DL><HR><A NAME="getPipeType()"><!-- --></A><H3>getPipeType</H3><PRE>public java.lang.String <B>getPipeType</B>()</PRE><DL><DD>Return the pipe type of the pipe which is the subject of this message.<P><DD><DL><DT><B>Returns:</B><DD>the pipe type of the pipe which is the subject of this message.</DL></DD></DL><HR><A NAME="setPipeType(java.lang.String)"><!-- --></A><H3>setPipeType</H3><PRE>public void <B>setPipeType</B>(java.lang.String type)</PRE><DL><DD>Set the pipe type of the pipe which is the subject of this message.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - The pipe type of the pipe which is to be the subject of this message.</DL></DD></DL><HR><A NAME="getPeerIDs()"><!-- --></A><H3>getPeerIDs</H3><PRE>public java.util.Set <B>getPeerIDs</B>()</PRE><DL><DD>Returns a <CODE>Set</CODE> (possibly empty) containing the peer ids which should respond to this query.<P><DD><DL><DT><B>Returns:</B><DD>set containing the peer ids to which this peer is directed.</DL></DD></DL><HR><A NAME="addPeerID(net.jxta.id.ID)"><!-- --></A><H3>addPeerID</H3><PRE>public void <B>addPeerID</B>(<A HREF="../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A> id)</PRE><DL><DD>Add a peer to the set of peers to which this query is directed.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - the peer id to add.</DL></DD></DL><HR><A NAME="isFound()"><!-- --></A><H3>isFound</H3><PRE>public boolean <B>isFound</B>()</PRE><DL><DD>If true then the pipe was found ont he<P><DD><DL></DL></DD></DL><HR><A NAME="setFound(boolean)"><!-- --></A><H3>setFound</H3><PRE>public void <B>setFound</B>(boolean isFound)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getInputPeerAdv()"><!-- --></A><H3>getInputPeerAdv</H3><PRE>public <A HREF="../../../net/jxta/protocol/PeerAdvertisement.html" title="class in net.jxta.protocol">PeerAdvertisement</A> <B>getInputPeerAdv</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setInputPeerAdv(net.jxta.protocol.PeerAdvertisement)"><!-- --></A><H3>setInputPeerAdv</H3><PRE>public void <B>setInputPeerAdv</B>(<A HREF="../../../net/jxta/protocol/PeerAdvertisement.html" title="class in net.jxta.protocol">PeerAdvertisement</A> peerAdv)</PRE><DL><DD><DL></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/PipeResolverMessage.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/protocol/PipeAdvertisement.html" title="class in net.jxta.protocol"><B>PREV CLASS</B></A> <A HREF="../../../net/jxta/protocol/PipeResolverMessage.MessageType.html" title="class in net.jxta.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> <A HREF="PipeResolverMessage.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> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <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 + -