📄 peerinforesponsemessage.html
字号:
<DL></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<P><DD><DL><DT><B>Returns:</B><DD>a string<DT><B>Since:</B></DT> <DD>JXTA 1.0</DD></DL></DD></DL><HR><A NAME="getSourcePid()"><!-- --></A><H3>getSourcePid</H3><PRE>public <A HREF="../../../net/jxta/peer/PeerID.html" title="class in net.jxta.peer">PeerID</A> <B>getSourcePid</B>()</PRE><DL><DD>returns the sender's pid<P><DD><DL><DT><B>Returns:</B><DD>a string representing the peer's id<DT><B>Since:</B></DT> <DD>JXTA 1.0</DD></DL></DD></DL><HR><A NAME="setSourcePid(net.jxta.peer.PeerID)"><!-- --></A><H3>setSourcePid</H3><PRE>public void <B>setSourcePid</B>(<A HREF="../../../net/jxta/peer/PeerID.html" title="class in net.jxta.peer">PeerID</A> pid)</PRE><DL><DD>sets the sender's pid<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pid</CODE> - a string representing a peer's id<DT><B>Since:</B></DT> <DD>JXTA 1.0</DD></DL></DD></DL><HR><A NAME="getTargetPid()"><!-- --></A><H3>getTargetPid</H3><PRE>public <A HREF="../../../net/jxta/peer/PeerID.html" title="class in net.jxta.peer">PeerID</A> <B>getTargetPid</B>()</PRE><DL><DD>returns the target pid<P><DD><DL><DT><B>Returns:</B><DD>a string representing the peer's id<DT><B>Since:</B></DT> <DD>JXTA 1.0</DD></DL></DD></DL><HR><A NAME="setTargetPid(net.jxta.peer.PeerID)"><!-- --></A><H3>setTargetPid</H3><PRE>public void <B>setTargetPid</B>(<A HREF="../../../net/jxta/peer/PeerID.html" title="class in net.jxta.peer">PeerID</A> pid)</PRE><DL><DD>sets the target's pid<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pid</CODE> - a string representing a peer's id<DT><B>Since:</B></DT> <DD>JXTA 1.0</DD></DL></DD></DL><HR><A NAME="getResponse()"><!-- --></A><H3>getResponse</H3><PRE>public <A HREF="../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A> <B>getResponse</B>()</PRE><DL><DD>returns the response<P><DD><DL><DT><B>Returns:</B><DD>a structured document representing request<DT><B>Since:</B></DT> <DD>JXTA 1.0</DD></DL></DD></DL><HR><A NAME="setResponse(net.jxta.document.Element)"><!-- --></A><H3>setResponse</H3><PRE>public void <B>setResponse</B>(<A HREF="../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A> response)</PRE><DL><DD>sets the request<P><DD><DL><DT><B>Parameters:</B><DD><CODE>response</CODE> - a structured document representing a peerinfo request<DT><B>Since:</B></DT> <DD>JXTA 1.0</DD></DL></DD></DL><HR><A NAME="getUptime()"><!-- --></A><H3>getUptime</H3><PRE>public long <B>getUptime</B>()</PRE><DL><DD>returns the number of milliseconds since this peer was started<P><DD><DL><DT><B>Returns:</B><DD>the number of milliseconds<DT><B>Since:</B></DT> <DD>JXTA 1.0</DD></DL></DD></DL><HR><A NAME="setUptime(long)"><!-- --></A><H3>setUptime</H3><PRE>public void <B>setUptime</B>(long milliseconds)</PRE><DL><DD>sets the number of milliseconds since this peer was started<P><DD><DL><DT><B>Parameters:</B><DD><CODE>milliseconds</CODE> - the number of milliseconds since this peer was started<DT><B>Since:</B></DT> <DD>JXTA 1.0</DD></DL></DD></DL><HR><A NAME="getTimestamp()"><!-- --></A><H3>getTimestamp</H3><PRE>public long <B>getTimestamp</B>()</PRE><DL><DD>returns the time when this peer was last polled<P><DD><DL><DT><B>Returns:</B><DD>long time in milliseconds when this peer was last polled in milliseconds since "the epoch", namely January 1, 1970, 00:00:00 GMT.<DT><B>Since:</B></DT> <DD>JXTA 1.0</DD></DL></DD></DL><HR><A NAME="setTimestamp(long)"><!-- --></A><H3>setTimestamp</H3><PRE>public void <B>setTimestamp</B>(long milliseconds)</PRE><DL><DD>sets the time when this peer was last polled<P><DD><DL><DT><B>Parameters:</B><DD><CODE>milliseconds</CODE> - time in milliseconds when this peer was last polled in milliseconds since "the epoch", namely January 1, 1970, 00:00:00 GMT.<DT><B>Since:</B></DT> <DD>JXTA 1.0</DD></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> encodeAs)</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/PeerInfoResponseMessage.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/PeerInfoQueryMessage.html" title="class in net.jxta.protocol"><B>PREV CLASS</B></A> <A HREF="../../../net/jxta/protocol/PipeAdvertisement.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="PeerInfoResponseMessage.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: NESTED | 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 + -