📄 dummysession.html
字号:
<DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoSession.html#getRemoteAddress()">IoSession</A></CODE></B></DD><DD>Returns the socket address of remote peer.<P><DD><DL></DL></DD></DL><HR><A NAME="setLocalAddress(java.net.SocketAddress)"><!-- --></A><H3>setLocalAddress</H3><PRE>public void <B>setLocalAddress</B>(<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> localAddress)</PRE><DL><DD>Sets the socket address of local machine which is associated with this session.<P><DD><DL></DL></DD></DL><HR><A NAME="setRemoteAddress(java.net.SocketAddress)"><!-- --></A><H3>setRemoteAddress</H3><PRE>public void <B>setRemoteAddress</B>(<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> remoteAddress)</PRE><DL><DD>Sets the socket address of remote peer.<P><DD><DL></DL></DD></DL><HR><A NAME="getService()"><!-- --></A><H3>getService</H3><PRE>public <A HREF="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</A> <B>getService</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoSession.html#getService()">IoSession</A></CODE></B></DD><DD>Returns the <A HREF="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common"><CODE>IoService</CODE></A> which provides I/O service to this session.<P><DD><DL></DL></DD></DL><HR><A NAME="setService(org.apache.mina.common.IoService)"><!-- --></A><H3>setService</H3><PRE>public void <B>setService</B>(<A HREF="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</A> service)</PRE><DL><DD>Sets the <A HREF="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common"><CODE>IoService</CODE></A> which provides I/O service to this session.<P><DD><DL></DL></DD></DL><HR><A NAME="getProcessor()"><!-- --></A><H3>getProcessor</H3><PRE>protected final <A HREF="../../../../org/apache/mina/common/IoProcessor.html" title="interface in org.apache.mina.common">IoProcessor</A><<A HREF="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</A>> <B>getProcessor</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/AbstractIoSession.html#getProcessor()">getProcessor</A></CODE> in class <CODE><A HREF="../../../../org/apache/mina/common/AbstractIoSession.html" title="class in org.apache.mina.common">AbstractIoSession</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getTransportMetadata()"><!-- --></A><H3>getTransportMetadata</H3><PRE>public <A HREF="../../../../org/apache/mina/common/TransportMetadata.html" title="interface in org.apache.mina.common">TransportMetadata</A> <B>getTransportMetadata</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/mina/common/IoSession.html#getTransportMetadata()">IoSession</A></CODE></B></DD><DD>Returns the <A HREF="../../../../org/apache/mina/common/TransportMetadata.html" title="interface in org.apache.mina.common"><CODE>TransportMetadata</CODE></A> that this session runs on.<P><DD><DL></DL></DD></DL><HR><A NAME="setTransportMetadata(org.apache.mina.common.TransportMetadata)"><!-- --></A><H3>setTransportMetadata</H3><PRE>public void <B>setTransportMetadata</B>(<A HREF="../../../../org/apache/mina/common/TransportMetadata.html" title="interface in org.apache.mina.common">TransportMetadata</A> transportMetadata)</PRE><DL><DD>Sets the <A HREF="../../../../org/apache/mina/common/TransportMetadata.html" title="interface in org.apache.mina.common"><CODE>TransportMetadata</CODE></A> that this session runs on.<P><DD><DL></DL></DD></DL><HR><A NAME="setScheduledWriteBytes(long)"><!-- --></A><H3>setScheduledWriteBytes</H3><PRE>public void <B>setScheduledWriteBytes</B>(long byteCount)</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/AbstractIoSession.html#setScheduledWriteBytes(long)">setScheduledWriteBytes</A></CODE> in class <CODE><A HREF="../../../../org/apache/mina/common/AbstractIoSession.html" title="class in org.apache.mina.common">AbstractIoSession</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setScheduledWriteMessages(int)"><!-- --></A><H3>setScheduledWriteMessages</H3><PRE>public void <B>setScheduledWriteMessages</B>(int messages)</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/mina/common/AbstractIoSession.html#setScheduledWriteMessages(int)">setScheduledWriteMessages</A></CODE> in class <CODE><A HREF="../../../../org/apache/mina/common/AbstractIoSession.html" title="class in org.apache.mina.common">AbstractIoSession</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="updateThroughput(boolean)"><!-- --></A><H3>updateThroughput</H3><PRE>public void <B>updateThroughput</B>(boolean force)</PRE><DL><DD>Update all statistical properties related with throughput. By default this method returns silently without updating the throughput properties if they were calculated already within last <A HREF="../../../../org/apache/mina/common/IoSessionConfig.html#getThroughputCalculationInterval()"><CODE>calculation interval</CODE></A>. If, however, <tt>force</tt> is specified as <tt>true</tt>, this method updates the throughput properties immediately.<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> </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/DummySession.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/DefaultWriteRequest.html" title="class in org.apache.mina.common"><B>PREV CLASS</B></A> <A HREF="../../../../org/apache/mina/common/ExceptionMonitor.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/DummySession.html" target="_top"><B>FRAMES</B></A> <A HREF="DummySession.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 + -