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

📄 iofuture.html

📁 MINA+API 关于MINA的API
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TABLE><A NAME="getSession()"><!-- --></A><H3>getSession</H3><PRE><A HREF="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</A> <B>getSession</B>()</PRE><DL><DD>Returns the <A HREF="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common"><CODE>IoSession</CODE></A> which is associated with this future.<P><DD><DL></DL></DD></DL><HR><A NAME="await()"><!-- --></A><H3>await</H3><PRE><A HREF="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</A> <B>await</B>()               throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE><DL><DD>Wait for the asynchronous operation to end.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL></DD></DL><HR><A NAME="await(long, java.util.concurrent.TimeUnit)"><!-- --></A><H3>await</H3><PRE>boolean <B>await</B>(long&nbsp;timeout,              <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</A>&nbsp;unit)              throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE><DL><DD>Wait for the asynchronous operation to end with the specified timeout.<P><DD><DL><DT><B>Returns:</B><DD><tt>true</tt> if the operation is finished.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL></DD></DL><HR><A NAME="await(long)"><!-- --></A><H3>await</H3><PRE>boolean <B>await</B>(long&nbsp;timeoutMillis)              throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE><DL><DD>Wait for the asynchronous operation to end with the specified timeout.<P><DD><DL><DT><B>Returns:</B><DD><tt>true</tt> if the operation is finished.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL></DD></DL><HR><A NAME="awaitUninterruptibly()"><!-- --></A><H3>awaitUninterruptibly</H3><PRE><A HREF="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</A> <B>awaitUninterruptibly</B>()</PRE><DL><DD>Wait for the asynchronous operation to end uninterruptibly.<P><DD><DL></DL></DD></DL><HR><A NAME="awaitUninterruptibly(long, java.util.concurrent.TimeUnit)"><!-- --></A><H3>awaitUninterruptibly</H3><PRE>boolean <B>awaitUninterruptibly</B>(long&nbsp;timeout,                             <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</A>&nbsp;unit)</PRE><DL><DD>Wait for the asynchronous operation to end with the specified timeout uninterruptibly.<P><DD><DL><DT><B>Returns:</B><DD><tt>true</tt> if the operation is finished.</DL></DD></DL><HR><A NAME="awaitUninterruptibly(long)"><!-- --></A><H3>awaitUninterruptibly</H3><PRE>boolean <B>awaitUninterruptibly</B>(long&nbsp;timeoutMillis)</PRE><DL><DD>Wait for the asynchronous operation to end with the specified timeout uninterruptibly.<P><DD><DL><DT><B>Returns:</B><DD><tt>true</tt> if the operation is finished.</DL></DD></DL><HR><A NAME="join()"><!-- --></A><H3>join</H3><PRE><FONT SIZE="-1"><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A></FONT>void <B>join</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Replaced with <A HREF="../../../../org/apache/mina/common/IoFuture.html#awaitUninterruptibly()"><CODE>awaitUninterruptibly()</CODE></A>.</I><P><DD><DL></DL></DD></DL><HR><A NAME="join(long)"><!-- --></A><H3>join</H3><PRE><FONT SIZE="-1"><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A></FONT>boolean <B>join</B>(long&nbsp;timeoutMillis)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Replaced with <A HREF="../../../../org/apache/mina/common/IoFuture.html#awaitUninterruptibly(long)"><CODE>awaitUninterruptibly(long)</CODE></A>.</I><P><DD><DL></DL></DD></DL><HR><A NAME="isReady()"><!-- --></A><H3>isReady</H3><PRE>boolean <B>isReady</B>()</PRE><DL><DD>Returns if the asynchronous operation is finished.<P><DD><DL></DL></DD></DL><HR><A NAME="addListener(org.apache.mina.common.IoFutureListener)"><!-- --></A><H3>addListener</H3><PRE><A HREF="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</A> <B>addListener</B>(<A HREF="../../../../org/apache/mina/common/IoFutureListener.html" title="interface in org.apache.mina.common">IoFutureListener</A>&lt;?&gt;&nbsp;listener)</PRE><DL><DD>Adds an event <tt>listener</tt> which is notified when the state of this future changes.<P><DD><DL></DL></DD></DL><HR><A NAME="removeListener(org.apache.mina.common.IoFutureListener)"><!-- --></A><H3>removeListener</H3><PRE><A HREF="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</A> <B>removeListener</B>(<A HREF="../../../../org/apache/mina/common/IoFutureListener.html" title="interface in org.apache.mina.common">IoFutureListener</A>&lt;?&gt;&nbsp;listener)</PRE><DL><DD>Removes an existing event <tt>listener</tt> which is notified when the state of this future changes.<P><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=2 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/IoFuture.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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../org/apache/mina/common/IoFilterLifeCycleException.html" title="class in org.apache.mina.common"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/apache/mina/common/IoFutureListener.html" title="interface in org.apache.mina.common"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?org/apache/mina/common/IoFuture.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="IoFuture.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;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright 漏 2004-2008 <a href="http://mina.apache.org/">Apache MINA Project</a>. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -