📄 defaultwriterequest.html
字号:
</TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="DefaultWriteRequest(java.lang.Object)"><!-- --></A><H3>DefaultWriteRequest</H3><PRE>public <B>DefaultWriteRequest</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> message)</PRE><DL><DD>Creates a new instance without <A HREF="../../../../org/apache/mina/common/WriteFuture.html" title="interface in org.apache.mina.common"><CODE>WriteFuture</CODE></A>. You'll get an instance of <A HREF="../../../../org/apache/mina/common/WriteFuture.html" title="interface in org.apache.mina.common"><CODE>WriteFuture</CODE></A> even if you called this constructor because <A HREF="../../../../org/apache/mina/common/DefaultWriteRequest.html#getFuture()"><CODE>getFuture()</CODE></A> will return a bogus future.<P></DL><HR><A NAME="DefaultWriteRequest(java.lang.Object, org.apache.mina.common.WriteFuture)"><!-- --></A><H3>DefaultWriteRequest</H3><PRE>public <B>DefaultWriteRequest</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> message, <A HREF="../../../../org/apache/mina/common/WriteFuture.html" title="interface in org.apache.mina.common">WriteFuture</A> future)</PRE><DL><DD>Creates a new instance with <A HREF="../../../../org/apache/mina/common/WriteFuture.html" title="interface in org.apache.mina.common"><CODE>WriteFuture</CODE></A>.<P></DL><HR><A NAME="DefaultWriteRequest(java.lang.Object, org.apache.mina.common.WriteFuture, java.net.SocketAddress)"><!-- --></A><H3>DefaultWriteRequest</H3><PRE>public <B>DefaultWriteRequest</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> message, <A HREF="../../../../org/apache/mina/common/WriteFuture.html" title="interface in org.apache.mina.common">WriteFuture</A> future, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net">SocketAddress</A> destination)</PRE><DL><DD>Creates a new instance.<P><DL><DT><B>Parameters:</B><DD><CODE>message</CODE> - a message to write<DD><CODE>future</CODE> - a future that needs to be notified when an operation is finished<DD><CODE>destination</CODE> - the destination of the message. This property will be ignored unless the transport supports it.</DL></DL><!-- ============ 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="getFuture()"><!-- --></A><H3>getFuture</H3><PRE>public <A HREF="../../../../org/apache/mina/common/WriteFuture.html" title="interface in org.apache.mina.common">WriteFuture</A> <B>getFuture</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/WriteRequest.html#getFuture()">WriteRequest</A></CODE></B></DD><DD>Returns <A HREF="../../../../org/apache/mina/common/WriteFuture.html" title="interface in org.apache.mina.common"><CODE>WriteFuture</CODE></A> that is associated with this write request.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/WriteRequest.html#getFuture()">getFuture</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/WriteRequest.html" title="interface in org.apache.mina.common">WriteRequest</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getMessage()"><!-- --></A><H3>getMessage</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getMessage</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/WriteRequest.html#getMessage()">WriteRequest</A></CODE></B></DD><DD>Returns a message object to be written.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/WriteRequest.html#getMessage()">getMessage</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/WriteRequest.html" title="interface in org.apache.mina.common">WriteRequest</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getOriginalRequest()"><!-- --></A><H3>getOriginalRequest</H3><PRE>public <A HREF="../../../../org/apache/mina/common/WriteRequest.html" title="interface in org.apache.mina.common">WriteRequest</A> <B>getOriginalRequest</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/WriteRequest.html#getOriginalRequest()">WriteRequest</A></CODE></B></DD><DD>Returns the <A HREF="../../../../org/apache/mina/common/WriteRequest.html" title="interface in org.apache.mina.common"><CODE>WriteRequest</CODE></A> which was requested originally, which is not transformed by any <A HREF="../../../../org/apache/mina/common/IoFilter.html" title="interface in org.apache.mina.common"><CODE>IoFilter</CODE></A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/WriteRequest.html#getOriginalRequest()">getOriginalRequest</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/WriteRequest.html" title="interface in org.apache.mina.common">WriteRequest</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getDestination()"><!-- --></A><H3>getDestination</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net">SocketAddress</A> <B>getDestination</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/WriteRequest.html#getDestination()">WriteRequest</A></CODE></B></DD><DD>Returns the destination of this write request.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/WriteRequest.html#getDestination()">getDestination</A></CODE> in interface <CODE><A HREF="../../../../org/apache/mina/common/WriteRequest.html" title="interface in org.apache.mina.common">WriteRequest</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD><tt>null</tt> for the default destination</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</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/DefaultWriteRequest.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/DefaultWriteFuture.html" title="class in org.apache.mina.common"><B>PREV CLASS</B></A> <A HREF="../../../../org/apache/mina/common/DummySession.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/DefaultWriteRequest.html" target="_top"><B>FRAMES</B></A> <A HREF="DefaultWriteRequest.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>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 + -