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

📄 reliableinputstream.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="nextRetransRequest"><!-- --></A><H3>nextRetransRequest</H3><PRE>long <B>nextRetransRequest</B></PRE><DL><DL></DL></DL><!-- ========= 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="ReliableInputStream(net.jxta.impl.util.pipe.reliable.Outgoing)"><!-- --></A><H3>ReliableInputStream</H3><PRE>public <B>ReliableInputStream</B>(<A HREF="../../../../../../net/jxta/impl/util/pipe/reliable/Outgoing.html" title="interface in net.jxta.impl.util.pipe.reliable">Outgoing</A>&nbsp;outgoing)</PRE><DL></DL><HR><A NAME="ReliableInputStream(net.jxta.impl.util.pipe.reliable.Outgoing, net.jxta.impl.util.pipe.reliable.ReliableInputStream.MsgListener)"><!-- --></A><H3>ReliableInputStream</H3><PRE>public <B>ReliableInputStream</B>(<A HREF="../../../../../../net/jxta/impl/util/pipe/reliable/Outgoing.html" title="interface in net.jxta.impl.util.pipe.reliable">Outgoing</A>&nbsp;outgoing,                           <A HREF="../../../../../../net/jxta/impl/util/pipe/reliable/ReliableInputStream.MsgListener.html" title="interface in net.jxta.impl.util.pipe.reliable">ReliableInputStream.MsgListener</A>&nbsp;listener)</PRE><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="close()"><!-- --></A><H3>close</H3><PRE>public void <B>close</B>()           throws java.io.IOException</PRE><DL><DD><P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="setClosing()"><!-- --></A><H3>setClosing</H3><PRE>public void <B>setClosing</B>()                throws java.io.IOException</PRE><DL><DD>prepare this input stream to being closed. It will still deliver the packets that have been received, but nothing more. This is meant to be called in response to the other side having initiated closure. We assume that when the other side does it it means that it is satified with what we have acknoleged so far.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="read()"><!-- --></A><H3>read</H3><PRE>public int <B>read</B>()         throws java.io.IOException</PRE><DL><DD><P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="read(byte[], int, int)"><!-- --></A><H3>read</H3><PRE>public int <B>read</B>(byte[]&nbsp;a,                int&nbsp;offset,                int&nbsp;length)         throws java.io.IOException</PRE><DL><DD><P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="recv(net.jxta.endpoint.Message)"><!-- --></A><H3>recv</H3><PRE>public void <B>recv</B>(<A HREF="../../../../../../net/jxta/endpoint/Message.html" title="class in net.jxta.endpoint">Message</A>&nbsp;msg)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../net/jxta/impl/util/pipe/reliable/Incoming.html" title="interface in net.jxta.impl.util.pipe.reliable">Incoming</A></CODE></B></DD><DD>Receive this incoming message. This method should return quickly. If the receiving class needs to do substantial work with incoming messages, it should insert this message into a queue and then drain the queue processing the messages in its own thread.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../net/jxta/impl/util/pipe/reliable/Incoming.html#recv(net.jxta.endpoint.Message)">recv</A></CODE> in interface <CODE><A HREF="../../../../../../net/jxta/impl/util/pipe/reliable/Incoming.html" title="interface in net.jxta.impl.util.pipe.reliable">Incoming</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="hasNextMessage()"><!-- --></A><H3>hasNextMessage</H3><PRE>public boolean <B>hasNextMessage</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="nextMessage()"><!-- --></A><H3>nextMessage</H3><PRE>public <A HREF="../../../../../../net/jxta/endpoint/Message.html" title="class in net.jxta.endpoint">Message</A> <B>nextMessage</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getListener()"><!-- --></A><H3>getListener</H3><PRE>public <A HREF="../../../../../../net/jxta/impl/util/pipe/reliable/ReliableInputStream.MsgListener.html" title="interface in net.jxta.impl.util.pipe.reliable">ReliableInputStream.MsgListener</A> <B>getListener</B>()</PRE><DL><DD>Returns the message listener for this pipe<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>MsgListener</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/ReliableInputStream.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/util/pipe/reliable/OutgoingPipeAdaptorSync.html" title="class in net.jxta.impl.util.pipe.reliable"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../../net/jxta/impl/util/pipe/reliable/ReliableOutputStream.html" title="class in net.jxta.impl.util.pipe.reliable"><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="ReliableInputStream.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;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">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;<A HREF="#field_detail">FIELD</A>&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 + -