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

📄 writefuture.html

📁 MINA+API 关于MINA的API
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR></TABLE>&nbsp;<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="isWritten()"><!-- --></A><H3>isWritten</H3><PRE>boolean <B>isWritten</B>()</PRE><DL><DD>Returns <tt>true</tt> if the write operation is finished successfully.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getException()"><!-- --></A><H3>getException</H3><PRE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A> <B>getException</B>()</PRE><DL><DD>Returns the cause of the write failure if and only if the write operation has failed due to an <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><CODE>Exception</CODE></A>.  Otherwise, <tt>null</tt> is returned.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setWritten()"><!-- --></A><H3>setWritten</H3><PRE>void <B>setWritten</B>()</PRE><DL><DD>Sets the message is written, 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="setException(java.lang.Throwable)"><!-- --></A><H3>setException</H3><PRE>void <B>setException</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A>&nbsp;cause)</PRE><DL><DD>Sets the cause of the write failure, 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/WriteFuture.html" title="interface in org.apache.mina.common">WriteFuture</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/WriteFuture.html" title="interface in org.apache.mina.common">WriteFuture</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/WriteFuture.html" title="interface in org.apache.mina.common">WriteFuture</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><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/WriteFuture.html" title="interface in org.apache.mina.common">WriteFuture</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><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>&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/WriteFuture.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/WriteException.html" title="class in org.apache.mina.common"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/apache/mina/common/WriteRequest.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/WriteFuture.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="WriteFuture.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 + -