📄 closefuture.html
字号:
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface org.apache.mina.common.<A HREF="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/apache/mina/common/IoFuture.html#await(long)">await</A>, <A HREF="../../../../org/apache/mina/common/IoFuture.html#await(long, java.util.concurrent.TimeUnit)">await</A>, <A HREF="../../../../org/apache/mina/common/IoFuture.html#awaitUninterruptibly(long)">awaitUninterruptibly</A>, <A HREF="../../../../org/apache/mina/common/IoFuture.html#awaitUninterruptibly(long, java.util.concurrent.TimeUnit)">awaitUninterruptibly</A>, <A HREF="../../../../org/apache/mina/common/IoFuture.html#getSession()">getSession</A>, <A HREF="../../../../org/apache/mina/common/IoFuture.html#isReady()">isReady</A>, <A HREF="../../../../org/apache/mina/common/IoFuture.html#join()">join</A>, <A HREF="../../../../org/apache/mina/common/IoFuture.html#join(long)">join</A></CODE></TD></TR></TABLE> <P><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="isClosed()"><!-- --></A><H3>isClosed</H3><PRE>boolean <B>isClosed</B>()</PRE><DL><DD>Returns <tt>true</tt> if the close request is finished and the session is closed.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setClosed()"><!-- --></A><H3>setClosed</H3><PRE>void <B>setClosed</B>()</PRE><DL><DD>Marks this future as closed and notifies all threads waiting for this future. This method is invoked by MINA internally. Please do not call this method directly.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="await()"><!-- --></A><H3>await</H3><PRE><A HREF="../../../../org/apache/mina/common/CloseFuture.html" title="interface in org.apache.mina.common">CloseFuture</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><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoFuture.html#await()">IoFuture</A></CODE></B></DD><DD>Wait for the asynchronous operation to end.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/IoFuture.html#await()">await</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</A></CODE></DL></DD><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="awaitUninterruptibly()"><!-- --></A><H3>awaitUninterruptibly</H3><PRE><A HREF="../../../../org/apache/mina/common/CloseFuture.html" title="interface in org.apache.mina.common">CloseFuture</A> <B>awaitUninterruptibly</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoFuture.html#awaitUninterruptibly()">IoFuture</A></CODE></B></DD><DD>Wait for the asynchronous operation to end uninterruptibly.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/IoFuture.html#awaitUninterruptibly()">awaitUninterruptibly</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</A></CODE></DL></DD><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/CloseFuture.html" title="interface in org.apache.mina.common">CloseFuture</A> <B>addListener</B>(<A HREF="../../../../org/apache/mina/common/IoFutureListener.html" title="interface in org.apache.mina.common">IoFutureListener</A><?> listener)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoFuture.html#addListener(org.apache.mina.common.IoFutureListener)">IoFuture</A></CODE></B></DD><DD>Adds an event <tt>listener</tt> which is notified when the state of this future changes.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/IoFuture.html#addListener(org.apache.mina.common.IoFutureListener)">addListener</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</A></CODE></DL></DD><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/CloseFuture.html" title="interface in org.apache.mina.common">CloseFuture</A> <B>removeListener</B>(<A HREF="../../../../org/apache/mina/common/IoFutureListener.html" title="interface in org.apache.mina.common">IoFutureListener</A><?> listener)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoFuture.html#removeListener(org.apache.mina.common.IoFutureListener)">IoFuture</A></CODE></B></DD><DD>Removes an existing event <tt>listener</tt> which is notified when the state of this future changes.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/IoFuture.html#removeListener(org.apache.mina.common.IoFutureListener)">removeListener</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</A></CODE></DL></DD><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> </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/CloseFuture.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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/apache/mina/common/CachedBufferAllocator.html" title="class in org.apache.mina.common"><B>PREV CLASS</B></A> <A HREF="../../../../org/apache/mina/common/CompositeIoFuture.html" title="class 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/CloseFuture.html" target="_top"><B>FRAMES</B></A> <A HREF="CloseFuture.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -