| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_191) on Sat Mar 16 18:07:13 CET 2019 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>AbstractIoService (Apache MINA 2.0.0-M1 API Documentation)</title> |
| <meta name="date" content="2019-03-16"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="AbstractIoService (Apache MINA 2.0.0-M1 API Documentation)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":6,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AbstractIoService.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/mina/common/AbstractIoConnector.html" title="class in org.apache.mina.common"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/mina/common/AbstractIoService.ServiceOperationFuture.html" title="class in org.apache.mina.common"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/mina/common/AbstractIoService.html" target="_top">Frames</a></li> |
| <li><a href="AbstractIoService.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.mina.common</div> |
| <h2 title="Class AbstractIoService" class="title">Class AbstractIoService</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.mina.common.AbstractIoService</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../org/apache/mina/common/AbstractIoAcceptor.html" title="class in org.apache.mina.common">AbstractIoAcceptor</a>, <a href="../../../../org/apache/mina/common/AbstractIoConnector.html" title="class in org.apache.mina.common">AbstractIoConnector</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public abstract class <span class="typeNameLabel">AbstractIoService</span> |
| extends java.lang.Object |
| implements <a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></pre> |
| <div class="block">Base implementation of <a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common"><code>IoService</code></a>s.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Version:</span></dt> |
| <dd>$Rev: 607163 $, $Date: 2007-12-28 04:20:07 +0100 (Fri, 28 Dec 2007) $</dd> |
| <dt><span class="simpleTagLabel">Author:</span></dt> |
| <dd>The Apache MINA Project (dev@mina.apache.org)</dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.ServiceOperationFuture.html" title="class in org.apache.mina.common">AbstractIoService.ServiceOperationFuture</a></span></code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier</th> |
| <th class="colLast" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#AbstractIoService-org.apache.mina.common.IoSessionConfig-">AbstractIoService</a></span>(<a href="../../../../org/apache/mina/common/IoSessionConfig.html" title="interface in org.apache.mina.common">IoSessionConfig</a> sessionConfig)</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#addListener-org.apache.mina.common.IoServiceListener-">addListener</a></span>(<a href="../../../../org/apache/mina/common/IoServiceListener.html" title="interface in org.apache.mina.common">IoServiceListener</a> listener)</code> |
| <div class="block">Adds an <a href="../../../../org/apache/mina/common/IoServiceListener.html" title="interface in org.apache.mina.common"><code>IoServiceListener</code></a> that listens any events related with |
| this service.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>java.util.Set<<a href="../../../../org/apache/mina/common/WriteFuture.html" title="interface in org.apache.mina.common">WriteFuture</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#broadcast-java.lang.Object-">broadcast</a></span>(java.lang.Object message)</code> |
| <div class="block">Writes the specified <code>message</code> to all the <a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common"><code>IoSession</code></a>s |
| managed by this service.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#decreaseScheduledWriteMessages--">decreaseScheduledWriteMessages</a></span>()</code> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#dispose--">dispose</a></span>()</code> |
| <div class="block">Releases any resources allocated by this service.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>protected abstract <a href="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#dispose0--">dispose0</a></span>()</code> |
| <div class="block">Implement this method to release any acquired resources.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#finishSessionInitialization-org.apache.mina.common.IoSession-org.apache.mina.common.IoFuture-org.apache.mina.common.IoSessionInitializer-">finishSessionInitialization</a></span>(<a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</a> session, |
| <a href="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</a> future, |
| <a href="../../../../org/apache/mina/common/IoSessionInitializer.html" title="interface in org.apache.mina.common">IoSessionInitializer</a> sessionInitializer)</code> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#finishSessionInitialization0-org.apache.mina.common.IoSession-org.apache.mina.common.IoFuture-">finishSessionInitialization0</a></span>(<a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</a> session, |
| <a href="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</a> future)</code> |
| <div class="block">Implement this method to perform additional tasks required for session |
| initialization.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getActivationTime--">getActivationTime</a></span>()</code> |
| <div class="block">Returns the time when this service was activated.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getBothIdleCount--">getBothIdleCount</a></span>()</code> |
| <div class="block">Returns the number of the fired continuous <tt>serviceIdle</tt> events |
| for <a href="../../../../org/apache/mina/common/IdleStatus.html#BOTH_IDLE"><code>IdleStatus.BOTH_IDLE</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getBothIdleTime--">getBothIdleTime</a></span>()</code> |
| <div class="block">Returns idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#BOTH_IDLE"><code>IdleStatus.BOTH_IDLE</code></a> in seconds.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getBothIdleTimeInMillis--">getBothIdleTimeInMillis</a></span>()</code> |
| <div class="block">Returns idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#BOTH_IDLE"><code>IdleStatus.BOTH_IDLE</code></a> in milliseconds.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getCumulativeManagedSessionCount--">getCumulativeManagedSessionCount</a></span>()</code> |
| <div class="block">Returns the cumulative number of sessions which were managed (or are |
| being managed) by this service, which means 'currently managed session |
| count + closed session count'.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/mina/common/DefaultIoFilterChainBuilder.html" title="class in org.apache.mina.common">DefaultIoFilterChainBuilder</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getFilterChain--">getFilterChain</a></span>()</code> |
| <div class="block">A shortcut for <tt>( ( DefaultIoFilterChainBuilder ) </tt><a href="../../../../org/apache/mina/common/IoService.html#getFilterChainBuilder--"><code>IoService.getFilterChainBuilder()</code></a><tt> )</tt>.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/mina/common/IoFilterChainBuilder.html" title="interface in org.apache.mina.common">IoFilterChainBuilder</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getFilterChainBuilder--">getFilterChainBuilder</a></span>()</code> |
| <div class="block">Returns the <a href="../../../../org/apache/mina/common/IoFilterChainBuilder.html" title="interface in org.apache.mina.common"><code>IoFilterChainBuilder</code></a> which will build the |
| <a href="../../../../org/apache/mina/common/IoFilterChain.html" title="interface in org.apache.mina.common"><code>IoFilterChain</code></a> of all <a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common"><code>IoSession</code></a>s which is created |
| by this service.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/mina/common/IoHandler.html" title="interface in org.apache.mina.common">IoHandler</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getHandler--">getHandler</a></span>()</code> |
| <div class="block">Returns the handler which will handle all connections managed by this service.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getIdleCount-org.apache.mina.common.IdleStatus-">getIdleCount</a></span>(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a> status)</code> |
| <div class="block">Returns the number of the fired continuous <tt>serviceIdle</tt> events |
| for the specified <a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common"><code>IdleStatus</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getIdleTime-org.apache.mina.common.IdleStatus-">getIdleTime</a></span>(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a> status)</code> |
| <div class="block">Returns idle time for the specified type of idleness in seconds.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getIdleTimeInMillis-org.apache.mina.common.IdleStatus-">getIdleTimeInMillis</a></span>(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a> status)</code> |
| <div class="block">Returns idle time for the specified type of idleness in milliseconds.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getLargestManagedSessionCount--">getLargestManagedSessionCount</a></span>()</code> |
| <div class="block">Returns the maximum number of sessions which were being managed at the |
| same time.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getLargestReadBytesThroughput--">getLargestReadBytesThroughput</a></span>()</code> |
| <div class="block">Returns the maximum of the <a href="../../../../org/apache/mina/common/IoService.html#getReadBytesThroughput--"><code>readBytesThroughput</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getLargestReadMessagesThroughput--">getLargestReadMessagesThroughput</a></span>()</code> |
| <div class="block">Returns the maximum of the <a href="../../../../org/apache/mina/common/IoService.html#getReadMessagesThroughput--"><code>readMessagesThroughput</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getLargestWrittenBytesThroughput--">getLargestWrittenBytesThroughput</a></span>()</code> |
| <div class="block">Returns the maximum of the <a href="../../../../org/apache/mina/common/IoService.html#getWrittenBytesThroughput--"><code>writtenBytesThroughput</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getLargestWrittenMessagesThroughput--">getLargestWrittenMessagesThroughput</a></span>()</code> |
| <div class="block">Returns the maximum of the <a href="../../../../org/apache/mina/common/IoService.html#getWrittenMessagesThroughput--"><code>writtenMessagesThroughput</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getLastBothIdleTime--">getLastBothIdleTime</a></span>()</code> |
| <div class="block">Returns the time in milliseconds when the last <tt>serviceIdle</tt> event |
| is fired for <a href="../../../../org/apache/mina/common/IdleStatus.html#BOTH_IDLE"><code>IdleStatus.BOTH_IDLE</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getLastIdleTime-org.apache.mina.common.IdleStatus-">getLastIdleTime</a></span>(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a> status)</code> |
| <div class="block">Returns the time in milliseconds when the last <tt>serviceIdle</tt> event |
| is fired for the specified <a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common"><code>IdleStatus</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getLastIoTime--">getLastIoTime</a></span>()</code> |
| <div class="block">Returns the time in millis when I/O occurred lastly.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getLastReaderIdleTime--">getLastReaderIdleTime</a></span>()</code> |
| <div class="block">Returns the time in milliseconds when the last <tt>serviceIdle</tt> event |
| is fired for <a href="../../../../org/apache/mina/common/IdleStatus.html#READER_IDLE"><code>IdleStatus.READER_IDLE</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getLastReadTime--">getLastReadTime</a></span>()</code> |
| <div class="block">Returns the time in millis when read operation occurred lastly.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getLastWriterIdleTime--">getLastWriterIdleTime</a></span>()</code> |
| <div class="block">Returns the time in milliseconds when the last <tt>serviceIdle</tt> event |
| is fired for <a href="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><code>IdleStatus.WRITER_IDLE</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getLastWriteTime--">getLastWriteTime</a></span>()</code> |
| <div class="block">Returns the time in millis when write operation occurred lastly.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/apache/mina/common/IoServiceListenerSupport.html" title="class in org.apache.mina.common">IoServiceListenerSupport</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getListeners--">getListeners</a></span>()</code> </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getManagedSessionCount--">getManagedSessionCount</a></span>()</code> |
| <div class="block">Returns the number of all sessions which are currently managed by this |
| service.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>java.util.Set<<a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getManagedSessions--">getManagedSessions</a></span>()</code> |
| <div class="block">Returns all sessions which are currently managed by this service.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getReadBytes--">getReadBytes</a></span>()</code> |
| <div class="block">Returns the number of bytes read by this service</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getReadBytesThroughput--">getReadBytesThroughput</a></span>()</code> |
| <div class="block">Returns the number of read bytes per second.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getReaderIdleCount--">getReaderIdleCount</a></span>()</code> |
| <div class="block">Returns the number of the fired continuous <tt>serviceIdle</tt> events |
| for <a href="../../../../org/apache/mina/common/IdleStatus.html#READER_IDLE"><code>IdleStatus.READER_IDLE</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getReaderIdleTime--">getReaderIdleTime</a></span>()</code> |
| <div class="block">Returns idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#READER_IDLE"><code>IdleStatus.READER_IDLE</code></a> in seconds.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getReaderIdleTimeInMillis--">getReaderIdleTimeInMillis</a></span>()</code> |
| <div class="block">Returns idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#READER_IDLE"><code>IdleStatus.READER_IDLE</code></a> in milliseconds.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getReadMessages--">getReadMessages</a></span>()</code> |
| <div class="block">Returns the number of messages this services has read</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getReadMessagesThroughput--">getReadMessagesThroughput</a></span>()</code> |
| <div class="block">Returns the number of read messages per second.</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getScheduledWriteBytes--">getScheduledWriteBytes</a></span>()</code> |
| <div class="block">Returns the number of bytes scheduled to be written</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getScheduledWriteMessages--">getScheduledWriteMessages</a></span>()</code> |
| <div class="block">Returns the number of messages scheduled to be written</div> |
| </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/mina/common/IoSessionConfig.html" title="interface in org.apache.mina.common">IoSessionConfig</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getSessionConfig--">getSessionConfig</a></span>()</code> |
| <div class="block">Returns the default configuration of the new <a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common"><code>IoSession</code></a>s |
| created by this service.</div> |
| </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/mina/common/IoSessionDataStructureFactory.html" title="interface in org.apache.mina.common">IoSessionDataStructureFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getSessionDataStructureFactory--">getSessionDataStructureFactory</a></span>()</code> |
| <div class="block">Returns the <a href="../../../../org/apache/mina/common/IoSessionDataStructureFactory.html" title="interface in org.apache.mina.common"><code>IoSessionDataStructureFactory</code></a> that provides |
| related data structures for a new session created by this service.</div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getThroughputCalculationInterval--">getThroughputCalculationInterval</a></span>()</code> |
| <div class="block">Returns the interval (seconds) between each throughput calculation.</div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getThroughputCalculationIntervalInMillis--">getThroughputCalculationIntervalInMillis</a></span>()</code> |
| <div class="block">Returns the interval (milliseconds) between each throughput calculation.</div> |
| </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getWriterIdleCount--">getWriterIdleCount</a></span>()</code> |
| <div class="block">Returns the number of the fired continuous <tt>serviceIdle</tt> events |
| for <a href="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><code>IdleStatus.WRITER_IDLE</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getWriterIdleTime--">getWriterIdleTime</a></span>()</code> |
| <div class="block">Returns idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><code>IdleStatus.WRITER_IDLE</code></a> in seconds.</div> |
| </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getWriterIdleTimeInMillis--">getWriterIdleTimeInMillis</a></span>()</code> |
| <div class="block">Returns idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><code>IdleStatus.WRITER_IDLE</code></a> in milliseconds.</div> |
| </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getWrittenBytes--">getWrittenBytes</a></span>()</code> |
| <div class="block">Returns the number of bytes written out by this service</div> |
| </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getWrittenBytesThroughput--">getWrittenBytesThroughput</a></span>()</code> |
| <div class="block">Returns the number of written bytes per second.</div> |
| </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getWrittenMessages--">getWrittenMessages</a></span>()</code> |
| <div class="block">Returns the number of messages this service has written</div> |
| </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#getWrittenMessagesThroughput--">getWrittenMessagesThroughput</a></span>()</code> |
| <div class="block">Returns the number of written messages per second.</div> |
| </td> |
| </tr> |
| <tr id="i53" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#increaseReadBytes-long-long-">increaseReadBytes</a></span>(long increment, |
| long currentTime)</code> </td> |
| </tr> |
| <tr id="i54" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#increaseReadMessages-long-">increaseReadMessages</a></span>(long currentTime)</code> </td> |
| </tr> |
| <tr id="i55" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#increaseScheduledWriteBytes-long-">increaseScheduledWriteBytes</a></span>(long increment)</code> </td> |
| </tr> |
| <tr id="i56" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#increaseScheduledWriteMessages--">increaseScheduledWriteMessages</a></span>()</code> </td> |
| </tr> |
| <tr id="i57" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#increaseWrittenBytes-long-long-">increaseWrittenBytes</a></span>(long increment, |
| long currentTime)</code> </td> |
| </tr> |
| <tr id="i58" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#increaseWrittenMessages-long-">increaseWrittenMessages</a></span>(long currentTime)</code> </td> |
| </tr> |
| <tr id="i59" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#isActive--">isActive</a></span>()</code> |
| <div class="block">Returns a value of whether or not this service is active</div> |
| </td> |
| </tr> |
| <tr id="i60" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#isBothIdle--">isBothIdle</a></span>()</code> |
| <div class="block">Returns <code>true</code> if this service is <a href="../../../../org/apache/mina/common/IdleStatus.html#BOTH_IDLE"><code>IdleStatus.BOTH_IDLE</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i61" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#isDisposed--">isDisposed</a></span>()</code> |
| <div class="block">Returns <tt>true</tt> if and if only all resources of this processor |
| have been disposed.</div> |
| </td> |
| </tr> |
| <tr id="i62" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#isDisposing--">isDisposing</a></span>()</code> |
| <div class="block">Returns <tt>true</tt> if and if only <a href="../../../../org/apache/mina/common/IoService.html#dispose--"><code>IoService.dispose()</code></a> method has |
| been called.</div> |
| </td> |
| </tr> |
| <tr id="i63" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#isIdle-org.apache.mina.common.IdleStatus-">isIdle</a></span>(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a> status)</code> |
| <div class="block">Returns <code>true</code> if this service is idle for the specified |
| <a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common"><code>IdleStatus</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i64" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#isReaderIdle--">isReaderIdle</a></span>()</code> |
| <div class="block">Returns <code>true</code> if this service is <a href="../../../../org/apache/mina/common/IdleStatus.html#READER_IDLE"><code>IdleStatus.READER_IDLE</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i65" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#isWriterIdle--">isWriterIdle</a></span>()</code> |
| <div class="block">Returns <code>true</code> if this service is <a href="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><code>IdleStatus.WRITER_IDLE</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i66" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#notifyIdleness-long-">notifyIdleness</a></span>(long currentTime)</code> </td> |
| </tr> |
| <tr id="i67" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#removeListener-org.apache.mina.common.IoServiceListener-">removeListener</a></span>(<a href="../../../../org/apache/mina/common/IoServiceListener.html" title="interface in org.apache.mina.common">IoServiceListener</a> listener)</code> |
| <div class="block">Removed an existing <a href="../../../../org/apache/mina/common/IoServiceListener.html" title="interface in org.apache.mina.common"><code>IoServiceListener</code></a> that listens any events |
| related with this service.</div> |
| </td> |
| </tr> |
| <tr id="i68" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#setBothIdleTime-int-">setBothIdleTime</a></span>(int idleTime)</code> |
| <div class="block">Sets idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><code>IdleStatus.WRITER_IDLE</code></a> in seconds.</div> |
| </td> |
| </tr> |
| <tr id="i69" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#setFilterChainBuilder-org.apache.mina.common.IoFilterChainBuilder-">setFilterChainBuilder</a></span>(<a href="../../../../org/apache/mina/common/IoFilterChainBuilder.html" title="interface in org.apache.mina.common">IoFilterChainBuilder</a> builder)</code> |
| <div class="block">Sets the <a href="../../../../org/apache/mina/common/IoFilterChainBuilder.html" title="interface in org.apache.mina.common"><code>IoFilterChainBuilder</code></a> which will build the |
| <a href="../../../../org/apache/mina/common/IoFilterChain.html" title="interface in org.apache.mina.common"><code>IoFilterChain</code></a> of all <a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common"><code>IoSession</code></a>s which is created |
| by this service.</div> |
| </td> |
| </tr> |
| <tr id="i70" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#setHandler-org.apache.mina.common.IoHandler-">setHandler</a></span>(<a href="../../../../org/apache/mina/common/IoHandler.html" title="interface in org.apache.mina.common">IoHandler</a> handler)</code> |
| <div class="block">Sets the handler which will handle all connections managed by this service.</div> |
| </td> |
| </tr> |
| <tr id="i71" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#setIdleTime-org.apache.mina.common.IdleStatus-int-">setIdleTime</a></span>(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a> status, |
| int idleTime)</code> |
| <div class="block">Sets idle time for the specified type of idleness in seconds.</div> |
| </td> |
| </tr> |
| <tr id="i72" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#setLastReadTime-long-">setLastReadTime</a></span>(long lastReadTime)</code> </td> |
| </tr> |
| <tr id="i73" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#setLastWriteTime-long-">setLastWriteTime</a></span>(long lastWriteTime)</code> </td> |
| </tr> |
| <tr id="i74" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#setReaderIdleTime-int-">setReaderIdleTime</a></span>(int idleTime)</code> |
| <div class="block">Sets idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#READER_IDLE"><code>IdleStatus.READER_IDLE</code></a> in seconds.</div> |
| </td> |
| </tr> |
| <tr id="i75" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#setSessionDataStructureFactory-org.apache.mina.common.IoSessionDataStructureFactory-">setSessionDataStructureFactory</a></span>(<a href="../../../../org/apache/mina/common/IoSessionDataStructureFactory.html" title="interface in org.apache.mina.common">IoSessionDataStructureFactory</a> sessionDataStructureFactory)</code> |
| <div class="block">Sets the <a href="../../../../org/apache/mina/common/IoSessionDataStructureFactory.html" title="interface in org.apache.mina.common"><code>IoSessionDataStructureFactory</code></a> that provides |
| related data structures for a new session created by this service.</div> |
| </td> |
| </tr> |
| <tr id="i76" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#setThroughputCalculationInterval-int-">setThroughputCalculationInterval</a></span>(int throughputCalculationInterval)</code> |
| <div class="block">Sets the interval (seconds) between each throughput calculation.</div> |
| </td> |
| </tr> |
| <tr id="i77" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mina/common/AbstractIoService.html#setWriterIdleTime-int-">setWriterIdleTime</a></span>(int idleTime)</code> |
| <div class="block">Sets idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><code>IdleStatus.WRITER_IDLE</code></a> in seconds.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.mina.common.IoService"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.mina.common.<a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></h3> |
| <code><a href="../../../../org/apache/mina/common/IoService.html#getTransportMetadata--">getTransportMetadata</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="AbstractIoService-org.apache.mina.common.IoSessionConfig-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>AbstractIoService</h4> |
| <pre>protected AbstractIoService(<a href="../../../../org/apache/mina/common/IoSessionConfig.html" title="interface in org.apache.mina.common">IoSessionConfig</a> sessionConfig)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getFilterChainBuilder--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFilterChainBuilder</h4> |
| <pre>public final <a href="../../../../org/apache/mina/common/IoFilterChainBuilder.html" title="interface in org.apache.mina.common">IoFilterChainBuilder</a> getFilterChainBuilder()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getFilterChainBuilder--">IoService</a></code></span></div> |
| <div class="block">Returns the <a href="../../../../org/apache/mina/common/IoFilterChainBuilder.html" title="interface in org.apache.mina.common"><code>IoFilterChainBuilder</code></a> which will build the |
| <a href="../../../../org/apache/mina/common/IoFilterChain.html" title="interface in org.apache.mina.common"><code>IoFilterChain</code></a> of all <a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common"><code>IoSession</code></a>s which is created |
| by this service. |
| The default value is an empty <a href="../../../../org/apache/mina/common/DefaultIoFilterChainBuilder.html" title="class in org.apache.mina.common"><code>DefaultIoFilterChainBuilder</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getFilterChainBuilder--">getFilterChainBuilder</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setFilterChainBuilder-org.apache.mina.common.IoFilterChainBuilder-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFilterChainBuilder</h4> |
| <pre>public final void setFilterChainBuilder(<a href="../../../../org/apache/mina/common/IoFilterChainBuilder.html" title="interface in org.apache.mina.common">IoFilterChainBuilder</a> builder)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#setFilterChainBuilder-org.apache.mina.common.IoFilterChainBuilder-">IoService</a></code></span></div> |
| <div class="block">Sets the <a href="../../../../org/apache/mina/common/IoFilterChainBuilder.html" title="interface in org.apache.mina.common"><code>IoFilterChainBuilder</code></a> which will build the |
| <a href="../../../../org/apache/mina/common/IoFilterChain.html" title="interface in org.apache.mina.common"><code>IoFilterChain</code></a> of all <a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common"><code>IoSession</code></a>s which is created |
| by this service. |
| If you specify <tt>null</tt> this property will be set to |
| an empty <a href="../../../../org/apache/mina/common/DefaultIoFilterChainBuilder.html" title="class in org.apache.mina.common"><code>DefaultIoFilterChainBuilder</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#setFilterChainBuilder-org.apache.mina.common.IoFilterChainBuilder-">setFilterChainBuilder</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFilterChain--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFilterChain</h4> |
| <pre>public final <a href="../../../../org/apache/mina/common/DefaultIoFilterChainBuilder.html" title="class in org.apache.mina.common">DefaultIoFilterChainBuilder</a> getFilterChain()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getFilterChain--">IoService</a></code></span></div> |
| <div class="block">A shortcut for <tt>( ( DefaultIoFilterChainBuilder ) </tt><a href="../../../../org/apache/mina/common/IoService.html#getFilterChainBuilder--"><code>IoService.getFilterChainBuilder()</code></a><tt> )</tt>. |
| Please note that the returned object is not a <b>real</b> <a href="../../../../org/apache/mina/common/IoFilterChain.html" title="interface in org.apache.mina.common"><code>IoFilterChain</code></a> |
| but a <a href="../../../../org/apache/mina/common/DefaultIoFilterChainBuilder.html" title="class in org.apache.mina.common"><code>DefaultIoFilterChainBuilder</code></a>. Modifying the returned builder |
| won't affect the existing <a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common"><code>IoSession</code></a>s at all, because |
| <a href="../../../../org/apache/mina/common/IoFilterChainBuilder.html" title="interface in org.apache.mina.common"><code>IoFilterChainBuilder</code></a>s affect only newly created <a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common"><code>IoSession</code></a>s.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getFilterChain--">getFilterChain</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addListener-org.apache.mina.common.IoServiceListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addListener</h4> |
| <pre>public final void addListener(<a href="../../../../org/apache/mina/common/IoServiceListener.html" title="interface in org.apache.mina.common">IoServiceListener</a> listener)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#addListener-org.apache.mina.common.IoServiceListener-">IoService</a></code></span></div> |
| <div class="block">Adds an <a href="../../../../org/apache/mina/common/IoServiceListener.html" title="interface in org.apache.mina.common"><code>IoServiceListener</code></a> that listens any events related with |
| this service.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#addListener-org.apache.mina.common.IoServiceListener-">addListener</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeListener-org.apache.mina.common.IoServiceListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeListener</h4> |
| <pre>public final void removeListener(<a href="../../../../org/apache/mina/common/IoServiceListener.html" title="interface in org.apache.mina.common">IoServiceListener</a> listener)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#removeListener-org.apache.mina.common.IoServiceListener-">IoService</a></code></span></div> |
| <div class="block">Removed an existing <a href="../../../../org/apache/mina/common/IoServiceListener.html" title="interface in org.apache.mina.common"><code>IoServiceListener</code></a> that listens any events |
| related with this service.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#removeListener-org.apache.mina.common.IoServiceListener-">removeListener</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isActive--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isActive</h4> |
| <pre>public final boolean isActive()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#isActive--">IoService</a></code></span></div> |
| <div class="block">Returns a value of whether or not this service is active</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#isActive--">isActive</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether of not the service is active.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isDisposing--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDisposing</h4> |
| <pre>public final boolean isDisposing()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#isDisposing--">IoService</a></code></span></div> |
| <div class="block">Returns <tt>true</tt> if and if only <a href="../../../../org/apache/mina/common/IoService.html#dispose--"><code>IoService.dispose()</code></a> method has |
| been called. Please note that this method will return <tt>true</tt> |
| even after all the related resources are released.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#isDisposing--">isDisposing</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isDisposed--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDisposed</h4> |
| <pre>public final boolean isDisposed()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#isDisposed--">IoService</a></code></span></div> |
| <div class="block">Returns <tt>true</tt> if and if only all resources of this processor |
| have been disposed.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#isDisposed--">isDisposed</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dispose--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dispose</h4> |
| <pre>public final void dispose()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#dispose--">IoService</a></code></span></div> |
| <div class="block">Releases any resources allocated by this service. Please note that |
| this method might block as long as there are any sessions managed by |
| this service.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#dispose--">dispose</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dispose0--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dispose0</h4> |
| <pre>protected abstract <a href="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</a> dispose0() |
| throws java.lang.Exception</pre> |
| <div class="block">Implement this method to release any acquired resources. This method |
| is invoked only once by <a href="../../../../org/apache/mina/common/AbstractIoService.html#dispose--"><code>dispose()</code></a>.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.Exception</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getManagedSessions--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getManagedSessions</h4> |
| <pre>public final java.util.Set<<a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</a>> getManagedSessions()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getManagedSessions--">IoService</a></code></span></div> |
| <div class="block">Returns all sessions which are currently managed by this service.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getManagedSessions--">getManagedSessions</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the sessions. An empty collection if there's no session.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCumulativeManagedSessionCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCumulativeManagedSessionCount</h4> |
| <pre>public final long getCumulativeManagedSessionCount()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getCumulativeManagedSessionCount--">IoService</a></code></span></div> |
| <div class="block">Returns the cumulative number of sessions which were managed (or are |
| being managed) by this service, which means 'currently managed session |
| count + closed session count'.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getCumulativeManagedSessionCount--">getCumulativeManagedSessionCount</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLargestManagedSessionCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLargestManagedSessionCount</h4> |
| <pre>public final int getLargestManagedSessionCount()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getLargestManagedSessionCount--">IoService</a></code></span></div> |
| <div class="block">Returns the maximum number of sessions which were being managed at the |
| same time.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getLargestManagedSessionCount--">getLargestManagedSessionCount</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getManagedSessionCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getManagedSessionCount</h4> |
| <pre>public final int getManagedSessionCount()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getManagedSessionCount--">IoService</a></code></span></div> |
| <div class="block">Returns the number of all sessions which are currently managed by this |
| service.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getManagedSessionCount--">getManagedSessionCount</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getHandler--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHandler</h4> |
| <pre>public final <a href="../../../../org/apache/mina/common/IoHandler.html" title="interface in org.apache.mina.common">IoHandler</a> getHandler()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getHandler--">IoService</a></code></span></div> |
| <div class="block">Returns the handler which will handle all connections managed by this service.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getHandler--">getHandler</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setHandler-org.apache.mina.common.IoHandler-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setHandler</h4> |
| <pre>public final void setHandler(<a href="../../../../org/apache/mina/common/IoHandler.html" title="interface in org.apache.mina.common">IoHandler</a> handler)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#setHandler-org.apache.mina.common.IoHandler-">IoService</a></code></span></div> |
| <div class="block">Sets the handler which will handle all connections managed by this service.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#setHandler-org.apache.mina.common.IoHandler-">setHandler</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSessionConfig--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSessionConfig</h4> |
| <pre>public <a href="../../../../org/apache/mina/common/IoSessionConfig.html" title="interface in org.apache.mina.common">IoSessionConfig</a> getSessionConfig()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getSessionConfig--">IoService</a></code></span></div> |
| <div class="block">Returns the default configuration of the new <a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common"><code>IoSession</code></a>s |
| created by this service.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getSessionConfig--">getSessionConfig</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSessionDataStructureFactory--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSessionDataStructureFactory</h4> |
| <pre>public final <a href="../../../../org/apache/mina/common/IoSessionDataStructureFactory.html" title="interface in org.apache.mina.common">IoSessionDataStructureFactory</a> getSessionDataStructureFactory()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getSessionDataStructureFactory--">IoService</a></code></span></div> |
| <div class="block">Returns the <a href="../../../../org/apache/mina/common/IoSessionDataStructureFactory.html" title="interface in org.apache.mina.common"><code>IoSessionDataStructureFactory</code></a> that provides |
| related data structures for a new session created by this service.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getSessionDataStructureFactory--">getSessionDataStructureFactory</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSessionDataStructureFactory-org.apache.mina.common.IoSessionDataStructureFactory-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSessionDataStructureFactory</h4> |
| <pre>public final void setSessionDataStructureFactory(<a href="../../../../org/apache/mina/common/IoSessionDataStructureFactory.html" title="interface in org.apache.mina.common">IoSessionDataStructureFactory</a> sessionDataStructureFactory)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#setSessionDataStructureFactory-org.apache.mina.common.IoSessionDataStructureFactory-">IoService</a></code></span></div> |
| <div class="block">Sets the <a href="../../../../org/apache/mina/common/IoSessionDataStructureFactory.html" title="interface in org.apache.mina.common"><code>IoSessionDataStructureFactory</code></a> that provides |
| related data structures for a new session created by this service.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#setSessionDataStructureFactory-org.apache.mina.common.IoSessionDataStructureFactory-">setSessionDataStructureFactory</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getReadBytes--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReadBytes</h4> |
| <pre>public final long getReadBytes()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getReadBytes--">IoService</a></code></span></div> |
| <div class="block">Returns the number of bytes read by this service</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getReadBytes--">getReadBytes</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The number of bytes this service has read</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="increaseReadBytes-long-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>increaseReadBytes</h4> |
| <pre>protected final void increaseReadBytes(long increment, |
| long currentTime)</pre> |
| </li> |
| </ul> |
| <a name="getReadMessages--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReadMessages</h4> |
| <pre>public final long getReadMessages()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getReadMessages--">IoService</a></code></span></div> |
| <div class="block">Returns the number of messages this services has read</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getReadMessages--">getReadMessages</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The number of messages this services has read</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="increaseReadMessages-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>increaseReadMessages</h4> |
| <pre>protected final void increaseReadMessages(long currentTime)</pre> |
| </li> |
| </ul> |
| <a name="getThroughputCalculationInterval--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getThroughputCalculationInterval</h4> |
| <pre>public final int getThroughputCalculationInterval()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getThroughputCalculationInterval--">IoService</a></code></span></div> |
| <div class="block">Returns the interval (seconds) between each throughput calculation. |
| The default value is <tt>3</tt> seconds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getThroughputCalculationInterval--">getThroughputCalculationInterval</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setThroughputCalculationInterval-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setThroughputCalculationInterval</h4> |
| <pre>public final void setThroughputCalculationInterval(int throughputCalculationInterval)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#setThroughputCalculationInterval-int-">IoService</a></code></span></div> |
| <div class="block">Sets the interval (seconds) between each throughput calculation. The |
| default value is <tt>3</tt> seconds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#setThroughputCalculationInterval-int-">setThroughputCalculationInterval</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getThroughputCalculationIntervalInMillis--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getThroughputCalculationIntervalInMillis</h4> |
| <pre>public final long getThroughputCalculationIntervalInMillis()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getThroughputCalculationIntervalInMillis--">IoService</a></code></span></div> |
| <div class="block">Returns the interval (milliseconds) between each throughput calculation. |
| The default value is <tt>3</tt> seconds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getThroughputCalculationIntervalInMillis--">getThroughputCalculationIntervalInMillis</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getReadBytesThroughput--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReadBytesThroughput</h4> |
| <pre>public final double getReadBytesThroughput()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getReadBytesThroughput--">IoService</a></code></span></div> |
| <div class="block">Returns the number of read bytes per second.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getReadBytesThroughput--">getReadBytesThroughput</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getWrittenBytesThroughput--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWrittenBytesThroughput</h4> |
| <pre>public final double getWrittenBytesThroughput()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getWrittenBytesThroughput--">IoService</a></code></span></div> |
| <div class="block">Returns the number of written bytes per second.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getWrittenBytesThroughput--">getWrittenBytesThroughput</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getReadMessagesThroughput--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReadMessagesThroughput</h4> |
| <pre>public final double getReadMessagesThroughput()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getReadMessagesThroughput--">IoService</a></code></span></div> |
| <div class="block">Returns the number of read messages per second.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getReadMessagesThroughput--">getReadMessagesThroughput</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getWrittenMessagesThroughput--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWrittenMessagesThroughput</h4> |
| <pre>public final double getWrittenMessagesThroughput()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getWrittenMessagesThroughput--">IoService</a></code></span></div> |
| <div class="block">Returns the number of written messages per second.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getWrittenMessagesThroughput--">getWrittenMessagesThroughput</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLargestReadBytesThroughput--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLargestReadBytesThroughput</h4> |
| <pre>public final double getLargestReadBytesThroughput()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getLargestReadBytesThroughput--">IoService</a></code></span></div> |
| <div class="block">Returns the maximum of the <a href="../../../../org/apache/mina/common/IoService.html#getReadBytesThroughput--"><code>readBytesThroughput</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getLargestReadBytesThroughput--">getLargestReadBytesThroughput</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLargestWrittenBytesThroughput--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLargestWrittenBytesThroughput</h4> |
| <pre>public final double getLargestWrittenBytesThroughput()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getLargestWrittenBytesThroughput--">IoService</a></code></span></div> |
| <div class="block">Returns the maximum of the <a href="../../../../org/apache/mina/common/IoService.html#getWrittenBytesThroughput--"><code>writtenBytesThroughput</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getLargestWrittenBytesThroughput--">getLargestWrittenBytesThroughput</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLargestReadMessagesThroughput--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLargestReadMessagesThroughput</h4> |
| <pre>public final double getLargestReadMessagesThroughput()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getLargestReadMessagesThroughput--">IoService</a></code></span></div> |
| <div class="block">Returns the maximum of the <a href="../../../../org/apache/mina/common/IoService.html#getReadMessagesThroughput--"><code>readMessagesThroughput</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getLargestReadMessagesThroughput--">getLargestReadMessagesThroughput</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLargestWrittenMessagesThroughput--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLargestWrittenMessagesThroughput</h4> |
| <pre>public final double getLargestWrittenMessagesThroughput()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getLargestWrittenMessagesThroughput--">IoService</a></code></span></div> |
| <div class="block">Returns the maximum of the <a href="../../../../org/apache/mina/common/IoService.html#getWrittenMessagesThroughput--"><code>writtenMessagesThroughput</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getLargestWrittenMessagesThroughput--">getLargestWrittenMessagesThroughput</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getScheduledWriteBytes--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getScheduledWriteBytes</h4> |
| <pre>public final long getScheduledWriteBytes()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getScheduledWriteBytes--">IoService</a></code></span></div> |
| <div class="block">Returns the number of bytes scheduled to be written</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getScheduledWriteBytes--">getScheduledWriteBytes</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The number of bytes scheduled to be written</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="increaseScheduledWriteBytes-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>increaseScheduledWriteBytes</h4> |
| <pre>protected final void increaseScheduledWriteBytes(long increment)</pre> |
| </li> |
| </ul> |
| <a name="getScheduledWriteMessages--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getScheduledWriteMessages</h4> |
| <pre>public final long getScheduledWriteMessages()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getScheduledWriteMessages--">IoService</a></code></span></div> |
| <div class="block">Returns the number of messages scheduled to be written</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getScheduledWriteMessages--">getScheduledWriteMessages</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The number of messages scheduled to be written</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="increaseScheduledWriteMessages--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>increaseScheduledWriteMessages</h4> |
| <pre>protected final void increaseScheduledWriteMessages()</pre> |
| </li> |
| </ul> |
| <a name="decreaseScheduledWriteMessages--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decreaseScheduledWriteMessages</h4> |
| <pre>protected final void decreaseScheduledWriteMessages()</pre> |
| </li> |
| </ul> |
| <a name="getActivationTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getActivationTime</h4> |
| <pre>public final long getActivationTime()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getActivationTime--">IoService</a></code></span></div> |
| <div class="block">Returns the time when this service was activated. It returns the last |
| time when this service was activated if the service is not active now.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getActivationTime--">getActivationTime</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The time by using <code>System.currentTimeMillis()</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLastIoTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLastIoTime</h4> |
| <pre>public final long getLastIoTime()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getLastIoTime--">IoService</a></code></span></div> |
| <div class="block">Returns the time in millis when I/O occurred lastly.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getLastIoTime--">getLastIoTime</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLastReadTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLastReadTime</h4> |
| <pre>public final long getLastReadTime()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getLastReadTime--">IoService</a></code></span></div> |
| <div class="block">Returns the time in millis when read operation occurred lastly.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getLastReadTime--">getLastReadTime</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setLastReadTime-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setLastReadTime</h4> |
| <pre>protected final void setLastReadTime(long lastReadTime)</pre> |
| </li> |
| </ul> |
| <a name="getLastWriteTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLastWriteTime</h4> |
| <pre>public final long getLastWriteTime()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getLastWriteTime--">IoService</a></code></span></div> |
| <div class="block">Returns the time in millis when write operation occurred lastly.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getLastWriteTime--">getLastWriteTime</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setLastWriteTime-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setLastWriteTime</h4> |
| <pre>protected final void setLastWriteTime(long lastWriteTime)</pre> |
| </li> |
| </ul> |
| <a name="getWrittenBytes--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWrittenBytes</h4> |
| <pre>public final long getWrittenBytes()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getWrittenBytes--">IoService</a></code></span></div> |
| <div class="block">Returns the number of bytes written out by this service</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getWrittenBytes--">getWrittenBytes</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The number of bytes this service has written</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="increaseWrittenBytes-long-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>increaseWrittenBytes</h4> |
| <pre>protected final void increaseWrittenBytes(long increment, |
| long currentTime)</pre> |
| </li> |
| </ul> |
| <a name="getWrittenMessages--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWrittenMessages</h4> |
| <pre>public final long getWrittenMessages()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getWrittenMessages--">IoService</a></code></span></div> |
| <div class="block">Returns the number of messages this service has written</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getWrittenMessages--">getWrittenMessages</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The number of messages this service has written</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="increaseWrittenMessages-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>increaseWrittenMessages</h4> |
| <pre>protected final void increaseWrittenMessages(long currentTime)</pre> |
| </li> |
| </ul> |
| <a name="getIdleTime-org.apache.mina.common.IdleStatus-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIdleTime</h4> |
| <pre>public final int getIdleTime(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a> status)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getIdleTime-org.apache.mina.common.IdleStatus-">IoService</a></code></span></div> |
| <div class="block">Returns idle time for the specified type of idleness in seconds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getIdleTime-org.apache.mina.common.IdleStatus-">getIdleTime</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getIdleTimeInMillis-org.apache.mina.common.IdleStatus-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIdleTimeInMillis</h4> |
| <pre>public final long getIdleTimeInMillis(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a> status)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getIdleTimeInMillis-org.apache.mina.common.IdleStatus-">IoService</a></code></span></div> |
| <div class="block">Returns idle time for the specified type of idleness in milliseconds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getIdleTimeInMillis-org.apache.mina.common.IdleStatus-">getIdleTimeInMillis</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setIdleTime-org.apache.mina.common.IdleStatus-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setIdleTime</h4> |
| <pre>public final void setIdleTime(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a> status, |
| int idleTime)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#setIdleTime-org.apache.mina.common.IdleStatus-int-">IoService</a></code></span></div> |
| <div class="block">Sets idle time for the specified type of idleness in seconds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#setIdleTime-org.apache.mina.common.IdleStatus-int-">setIdleTime</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isIdle-org.apache.mina.common.IdleStatus-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isIdle</h4> |
| <pre>public final boolean isIdle(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a> status)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#isIdle-org.apache.mina.common.IdleStatus-">IoService</a></code></span></div> |
| <div class="block">Returns <code>true</code> if this service is idle for the specified |
| <a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common"><code>IdleStatus</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#isIdle-org.apache.mina.common.IdleStatus-">isIdle</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getIdleCount-org.apache.mina.common.IdleStatus-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIdleCount</h4> |
| <pre>public final int getIdleCount(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a> status)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getIdleCount-org.apache.mina.common.IdleStatus-">IoService</a></code></span></div> |
| <div class="block">Returns the number of the fired continuous <tt>serviceIdle</tt> events |
| for the specified <a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common"><code>IdleStatus</code></a>. |
| <p/> |
| If <tt>serviceIdle</tt> event is fired first after some time after I/O, |
| <tt>idleCount</tt> becomes <tt>1</tt>. <tt>idleCount</tt> resets to |
| <tt>0</tt> if any I/O occurs again, otherwise it increases to |
| <tt>2</tt> and so on if <tt>serviceIdle</tt> event is fired again without |
| any I/O between two (or more) <tt>serviceIdle</tt> events.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getIdleCount-org.apache.mina.common.IdleStatus-">getIdleCount</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLastIdleTime-org.apache.mina.common.IdleStatus-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLastIdleTime</h4> |
| <pre>public final long getLastIdleTime(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a> status)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getLastIdleTime-org.apache.mina.common.IdleStatus-">IoService</a></code></span></div> |
| <div class="block">Returns the time in milliseconds when the last <tt>serviceIdle</tt> event |
| is fired for the specified <a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common"><code>IdleStatus</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getLastIdleTime-org.apache.mina.common.IdleStatus-">getLastIdleTime</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="notifyIdleness-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>notifyIdleness</h4> |
| <pre>protected final void notifyIdleness(long currentTime)</pre> |
| </li> |
| </ul> |
| <a name="getBothIdleCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBothIdleCount</h4> |
| <pre>public final int getBothIdleCount()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getBothIdleCount--">IoService</a></code></span></div> |
| <div class="block">Returns the number of the fired continuous <tt>serviceIdle</tt> events |
| for <a href="../../../../org/apache/mina/common/IdleStatus.html#BOTH_IDLE"><code>IdleStatus.BOTH_IDLE</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getBothIdleCount--">getBothIdleCount</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/mina/common/IoService.html#getIdleCount-org.apache.mina.common.IdleStatus-"><code>IoService.getIdleCount(IdleStatus)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLastBothIdleTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLastBothIdleTime</h4> |
| <pre>public final long getLastBothIdleTime()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getLastBothIdleTime--">IoService</a></code></span></div> |
| <div class="block">Returns the time in milliseconds when the last <tt>serviceIdle</tt> event |
| is fired for <a href="../../../../org/apache/mina/common/IdleStatus.html#BOTH_IDLE"><code>IdleStatus.BOTH_IDLE</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getLastBothIdleTime--">getLastBothIdleTime</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/mina/common/IoService.html#getLastIdleTime-org.apache.mina.common.IdleStatus-"><code>IoService.getLastIdleTime(IdleStatus)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLastReaderIdleTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLastReaderIdleTime</h4> |
| <pre>public final long getLastReaderIdleTime()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getLastReaderIdleTime--">IoService</a></code></span></div> |
| <div class="block">Returns the time in milliseconds when the last <tt>serviceIdle</tt> event |
| is fired for <a href="../../../../org/apache/mina/common/IdleStatus.html#READER_IDLE"><code>IdleStatus.READER_IDLE</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getLastReaderIdleTime--">getLastReaderIdleTime</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/mina/common/IoService.html#getLastIdleTime-org.apache.mina.common.IdleStatus-"><code>IoService.getLastIdleTime(IdleStatus)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLastWriterIdleTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLastWriterIdleTime</h4> |
| <pre>public final long getLastWriterIdleTime()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getLastWriterIdleTime--">IoService</a></code></span></div> |
| <div class="block">Returns the time in milliseconds when the last <tt>serviceIdle</tt> event |
| is fired for <a href="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><code>IdleStatus.WRITER_IDLE</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getLastWriterIdleTime--">getLastWriterIdleTime</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/mina/common/IoService.html#getLastIdleTime-org.apache.mina.common.IdleStatus-"><code>IoService.getLastIdleTime(IdleStatus)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getReaderIdleCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReaderIdleCount</h4> |
| <pre>public final int getReaderIdleCount()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getReaderIdleCount--">IoService</a></code></span></div> |
| <div class="block">Returns the number of the fired continuous <tt>serviceIdle</tt> events |
| for <a href="../../../../org/apache/mina/common/IdleStatus.html#READER_IDLE"><code>IdleStatus.READER_IDLE</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getReaderIdleCount--">getReaderIdleCount</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/mina/common/IoService.html#getIdleCount-org.apache.mina.common.IdleStatus-"><code>IoService.getIdleCount(IdleStatus)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getWriterIdleCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWriterIdleCount</h4> |
| <pre>public final int getWriterIdleCount()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getWriterIdleCount--">IoService</a></code></span></div> |
| <div class="block">Returns the number of the fired continuous <tt>serviceIdle</tt> events |
| for <a href="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><code>IdleStatus.WRITER_IDLE</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getWriterIdleCount--">getWriterIdleCount</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/mina/common/IoService.html#getIdleCount-org.apache.mina.common.IdleStatus-"><code>IoService.getIdleCount(IdleStatus)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getBothIdleTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBothIdleTime</h4> |
| <pre>public final int getBothIdleTime()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getBothIdleTime--">IoService</a></code></span></div> |
| <div class="block">Returns idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#BOTH_IDLE"><code>IdleStatus.BOTH_IDLE</code></a> in seconds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getBothIdleTime--">getBothIdleTime</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getBothIdleTimeInMillis--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBothIdleTimeInMillis</h4> |
| <pre>public final long getBothIdleTimeInMillis()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getBothIdleTimeInMillis--">IoService</a></code></span></div> |
| <div class="block">Returns idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#BOTH_IDLE"><code>IdleStatus.BOTH_IDLE</code></a> in milliseconds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getBothIdleTimeInMillis--">getBothIdleTimeInMillis</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getReaderIdleTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReaderIdleTime</h4> |
| <pre>public final int getReaderIdleTime()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getReaderIdleTime--">IoService</a></code></span></div> |
| <div class="block">Returns idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#READER_IDLE"><code>IdleStatus.READER_IDLE</code></a> in seconds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getReaderIdleTime--">getReaderIdleTime</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getReaderIdleTimeInMillis--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReaderIdleTimeInMillis</h4> |
| <pre>public final long getReaderIdleTimeInMillis()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getReaderIdleTimeInMillis--">IoService</a></code></span></div> |
| <div class="block">Returns idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#READER_IDLE"><code>IdleStatus.READER_IDLE</code></a> in milliseconds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getReaderIdleTimeInMillis--">getReaderIdleTimeInMillis</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getWriterIdleTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWriterIdleTime</h4> |
| <pre>public final int getWriterIdleTime()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getWriterIdleTime--">IoService</a></code></span></div> |
| <div class="block">Returns idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><code>IdleStatus.WRITER_IDLE</code></a> in seconds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getWriterIdleTime--">getWriterIdleTime</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getWriterIdleTimeInMillis--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWriterIdleTimeInMillis</h4> |
| <pre>public final long getWriterIdleTimeInMillis()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#getWriterIdleTimeInMillis--">IoService</a></code></span></div> |
| <div class="block">Returns idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><code>IdleStatus.WRITER_IDLE</code></a> in milliseconds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#getWriterIdleTimeInMillis--">getWriterIdleTimeInMillis</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isBothIdle--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isBothIdle</h4> |
| <pre>public final boolean isBothIdle()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#isBothIdle--">IoService</a></code></span></div> |
| <div class="block">Returns <code>true</code> if this service is <a href="../../../../org/apache/mina/common/IdleStatus.html#BOTH_IDLE"><code>IdleStatus.BOTH_IDLE</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#isBothIdle--">isBothIdle</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/mina/common/IoService.html#isIdle-org.apache.mina.common.IdleStatus-"><code>IoService.isIdle(IdleStatus)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isReaderIdle--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isReaderIdle</h4> |
| <pre>public final boolean isReaderIdle()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#isReaderIdle--">IoService</a></code></span></div> |
| <div class="block">Returns <code>true</code> if this service is <a href="../../../../org/apache/mina/common/IdleStatus.html#READER_IDLE"><code>IdleStatus.READER_IDLE</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#isReaderIdle--">isReaderIdle</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/mina/common/IoService.html#isIdle-org.apache.mina.common.IdleStatus-"><code>IoService.isIdle(IdleStatus)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isWriterIdle--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isWriterIdle</h4> |
| <pre>public final boolean isWriterIdle()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#isWriterIdle--">IoService</a></code></span></div> |
| <div class="block">Returns <code>true</code> if this service is <a href="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><code>IdleStatus.WRITER_IDLE</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#isWriterIdle--">isWriterIdle</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/mina/common/IoService.html#isIdle-org.apache.mina.common.IdleStatus-"><code>IoService.isIdle(IdleStatus)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setBothIdleTime-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBothIdleTime</h4> |
| <pre>public final void setBothIdleTime(int idleTime)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#setBothIdleTime-int-">IoService</a></code></span></div> |
| <div class="block">Sets idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><code>IdleStatus.WRITER_IDLE</code></a> in seconds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#setBothIdleTime-int-">setBothIdleTime</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setReaderIdleTime-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setReaderIdleTime</h4> |
| <pre>public final void setReaderIdleTime(int idleTime)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#setReaderIdleTime-int-">IoService</a></code></span></div> |
| <div class="block">Sets idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#READER_IDLE"><code>IdleStatus.READER_IDLE</code></a> in seconds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#setReaderIdleTime-int-">setReaderIdleTime</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setWriterIdleTime-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setWriterIdleTime</h4> |
| <pre>public final void setWriterIdleTime(int idleTime)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#setWriterIdleTime-int-">IoService</a></code></span></div> |
| <div class="block">Sets idle time for <a href="../../../../org/apache/mina/common/IdleStatus.html#WRITER_IDLE"><code>IdleStatus.WRITER_IDLE</code></a> in seconds.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#setWriterIdleTime-int-">setWriterIdleTime</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="broadcast-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>broadcast</h4> |
| <pre>public final java.util.Set<<a href="../../../../org/apache/mina/common/WriteFuture.html" title="interface in org.apache.mina.common">WriteFuture</a>> broadcast(java.lang.Object message)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/mina/common/IoService.html#broadcast-java.lang.Object-">IoService</a></code></span></div> |
| <div class="block">Writes the specified <code>message</code> to all the <a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common"><code>IoSession</code></a>s |
| managed by this service. This method is a convenience shortcut for |
| <a href="../../../../org/apache/mina/common/IoUtil.html#broadcast-java.lang.Object-java.util.Collection-"><code>IoUtil.broadcast(Object, Collection)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/mina/common/IoService.html#broadcast-java.lang.Object-">broadcast</a></code> in interface <code><a href="../../../../org/apache/mina/common/IoService.html" title="interface in org.apache.mina.common">IoService</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getListeners--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getListeners</h4> |
| <pre>protected final <a href="../../../../org/apache/mina/common/IoServiceListenerSupport.html" title="class in org.apache.mina.common">IoServiceListenerSupport</a> getListeners()</pre> |
| </li> |
| </ul> |
| <a name="finishSessionInitialization-org.apache.mina.common.IoSession-org.apache.mina.common.IoFuture-org.apache.mina.common.IoSessionInitializer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>finishSessionInitialization</h4> |
| <pre>protected final void finishSessionInitialization(<a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</a> session, |
| <a href="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</a> future, |
| <a href="../../../../org/apache/mina/common/IoSessionInitializer.html" title="interface in org.apache.mina.common">IoSessionInitializer</a> sessionInitializer)</pre> |
| </li> |
| </ul> |
| <a name="finishSessionInitialization0-org.apache.mina.common.IoSession-org.apache.mina.common.IoFuture-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>finishSessionInitialization0</h4> |
| <pre>protected void finishSessionInitialization0(<a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</a> session, |
| <a href="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</a> future)</pre> |
| <div class="block">Implement this method to perform additional tasks required for session |
| initialization. Do not call this method directly; |
| <a href="../../../../org/apache/mina/common/AbstractIoService.html#finishSessionInitialization-org.apache.mina.common.IoSession-org.apache.mina.common.IoFuture-org.apache.mina.common.IoSessionInitializer-"><code>finishSessionInitialization(IoSession, IoFuture, IoSessionInitializer)</code></a> will call |
| this method instead.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AbstractIoService.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/mina/common/AbstractIoConnector.html" title="class in org.apache.mina.common"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/mina/common/AbstractIoService.ServiceOperationFuture.html" title="class in org.apache.mina.common"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/mina/common/AbstractIoService.html" target="_top">Frames</a></li> |
| <li><a href="AbstractIoService.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2004-2019 <a href="http://mina.apache.org/">Apache MINA Project</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |