blob: 6b786b8637f8a7eb1dba7ef76a851e9c9dc3483f [file] [log] [blame]
<!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&nbsp;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&nbsp;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&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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">&nbsp;</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&nbsp;</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>&nbsp;</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">&nbsp;</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>&nbsp;sessionConfig)</code>&nbsp;</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">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</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>&nbsp;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&lt;<a href="../../../../org/apache/mina/common/WriteFuture.html" title="interface in org.apache.mina.common">WriteFuture</a>&gt;</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&nbsp;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>&nbsp;</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>&nbsp;session,
<a href="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</a>&nbsp;future,
<a href="../../../../org/apache/mina/common/IoSessionInitializer.html" title="interface in org.apache.mina.common">IoSessionInitializer</a>&nbsp;sessionInitializer)</code>&nbsp;</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>&nbsp;session,
<a href="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</a>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;</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&lt;<a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</a>&gt;</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&nbsp;increment,
long&nbsp;currentTime)</code>&nbsp;</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&nbsp;currentTime)</code>&nbsp;</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&nbsp;increment)</code>&nbsp;</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>&nbsp;</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&nbsp;increment,
long&nbsp;currentTime)</code>&nbsp;</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&nbsp;currentTime)</code>&nbsp;</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>&nbsp;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&nbsp;currentTime)</code>&nbsp;</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>&nbsp;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&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;status,
int&nbsp;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&nbsp;lastReadTime)</code>&nbsp;</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&nbsp;lastWriteTime)</code>&nbsp;</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&nbsp;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>&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;AbstractIoService(<a href="../../../../org/apache/mina/common/IoSessionConfig.html" title="interface in org.apache.mina.common">IoSessionConfig</a>&nbsp;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&nbsp;<a href="../../../../org/apache/mina/common/IoFilterChainBuilder.html" title="interface in org.apache.mina.common">IoFilterChainBuilder</a>&nbsp;getFilterChainBuilder()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;setFilterChainBuilder(<a href="../../../../org/apache/mina/common/IoFilterChainBuilder.html" title="interface in org.apache.mina.common">IoFilterChainBuilder</a>&nbsp;builder)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;<a href="../../../../org/apache/mina/common/DefaultIoFilterChainBuilder.html" title="class in org.apache.mina.common">DefaultIoFilterChainBuilder</a>&nbsp;getFilterChain()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;addListener(<a href="../../../../org/apache/mina/common/IoServiceListener.html" title="interface in org.apache.mina.common">IoServiceListener</a>&nbsp;listener)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;removeListener(<a href="../../../../org/apache/mina/common/IoServiceListener.html" title="interface in org.apache.mina.common">IoServiceListener</a>&nbsp;listener)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;boolean&nbsp;isActive()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;boolean&nbsp;isDisposing()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;boolean&nbsp;isDisposed()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;dispose()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;<a href="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</a>&nbsp;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&nbsp;java.util.Set&lt;<a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</a>&gt;&nbsp;getManagedSessions()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;long&nbsp;getCumulativeManagedSessionCount()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;int&nbsp;getLargestManagedSessionCount()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;int&nbsp;getManagedSessionCount()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;<a href="../../../../org/apache/mina/common/IoHandler.html" title="interface in org.apache.mina.common">IoHandler</a>&nbsp;getHandler()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;setHandler(<a href="../../../../org/apache/mina/common/IoHandler.html" title="interface in org.apache.mina.common">IoHandler</a>&nbsp;handler)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;<a href="../../../../org/apache/mina/common/IoSessionConfig.html" title="interface in org.apache.mina.common">IoSessionConfig</a>&nbsp;getSessionConfig()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;<a href="../../../../org/apache/mina/common/IoSessionDataStructureFactory.html" title="interface in org.apache.mina.common">IoSessionDataStructureFactory</a>&nbsp;getSessionDataStructureFactory()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;setSessionDataStructureFactory(<a href="../../../../org/apache/mina/common/IoSessionDataStructureFactory.html" title="interface in org.apache.mina.common">IoSessionDataStructureFactory</a>&nbsp;sessionDataStructureFactory)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;long&nbsp;getReadBytes()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;increaseReadBytes(long&nbsp;increment,
long&nbsp;currentTime)</pre>
</li>
</ul>
<a name="getReadMessages--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReadMessages</h4>
<pre>public final&nbsp;long&nbsp;getReadMessages()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;increaseReadMessages(long&nbsp;currentTime)</pre>
</li>
</ul>
<a name="getThroughputCalculationInterval--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getThroughputCalculationInterval</h4>
<pre>public final&nbsp;int&nbsp;getThroughputCalculationInterval()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;setThroughputCalculationInterval(int&nbsp;throughputCalculationInterval)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;long&nbsp;getThroughputCalculationIntervalInMillis()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;double&nbsp;getReadBytesThroughput()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;double&nbsp;getWrittenBytesThroughput()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;double&nbsp;getReadMessagesThroughput()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;double&nbsp;getWrittenMessagesThroughput()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;double&nbsp;getLargestReadBytesThroughput()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;double&nbsp;getLargestWrittenBytesThroughput()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;double&nbsp;getLargestReadMessagesThroughput()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;double&nbsp;getLargestWrittenMessagesThroughput()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;long&nbsp;getScheduledWriteBytes()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;increaseScheduledWriteBytes(long&nbsp;increment)</pre>
</li>
</ul>
<a name="getScheduledWriteMessages--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getScheduledWriteMessages</h4>
<pre>public final&nbsp;long&nbsp;getScheduledWriteMessages()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;increaseScheduledWriteMessages()</pre>
</li>
</ul>
<a name="decreaseScheduledWriteMessages--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>decreaseScheduledWriteMessages</h4>
<pre>protected final&nbsp;void&nbsp;decreaseScheduledWriteMessages()</pre>
</li>
</ul>
<a name="getActivationTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getActivationTime</h4>
<pre>public final&nbsp;long&nbsp;getActivationTime()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;long&nbsp;getLastIoTime()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;long&nbsp;getLastReadTime()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;setLastReadTime(long&nbsp;lastReadTime)</pre>
</li>
</ul>
<a name="getLastWriteTime--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastWriteTime</h4>
<pre>public final&nbsp;long&nbsp;getLastWriteTime()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;setLastWriteTime(long&nbsp;lastWriteTime)</pre>
</li>
</ul>
<a name="getWrittenBytes--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWrittenBytes</h4>
<pre>public final&nbsp;long&nbsp;getWrittenBytes()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;increaseWrittenBytes(long&nbsp;increment,
long&nbsp;currentTime)</pre>
</li>
</ul>
<a name="getWrittenMessages--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWrittenMessages</h4>
<pre>public final&nbsp;long&nbsp;getWrittenMessages()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;increaseWrittenMessages(long&nbsp;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&nbsp;int&nbsp;getIdleTime(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a>&nbsp;status)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;long&nbsp;getIdleTimeInMillis(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a>&nbsp;status)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;setIdleTime(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a>&nbsp;status,
int&nbsp;idleTime)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;boolean&nbsp;isIdle(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a>&nbsp;status)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;int&nbsp;getIdleCount(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a>&nbsp;status)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;long&nbsp;getLastIdleTime(<a href="../../../../org/apache/mina/common/IdleStatus.html" title="class in org.apache.mina.common">IdleStatus</a>&nbsp;status)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;notifyIdleness(long&nbsp;currentTime)</pre>
</li>
</ul>
<a name="getBothIdleCount--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBothIdleCount</h4>
<pre>public final&nbsp;int&nbsp;getBothIdleCount()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;long&nbsp;getLastBothIdleTime()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;long&nbsp;getLastReaderIdleTime()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;long&nbsp;getLastWriterIdleTime()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;int&nbsp;getReaderIdleCount()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;int&nbsp;getWriterIdleCount()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;int&nbsp;getBothIdleTime()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;long&nbsp;getBothIdleTimeInMillis()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;int&nbsp;getReaderIdleTime()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;long&nbsp;getReaderIdleTimeInMillis()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;int&nbsp;getWriterIdleTime()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;long&nbsp;getWriterIdleTimeInMillis()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;boolean&nbsp;isBothIdle()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;boolean&nbsp;isReaderIdle()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;boolean&nbsp;isWriterIdle()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;setBothIdleTime(int&nbsp;idleTime)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;setReaderIdleTime(int&nbsp;idleTime)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;void&nbsp;setWriterIdleTime(int&nbsp;idleTime)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;java.util.Set&lt;<a href="../../../../org/apache/mina/common/WriteFuture.html" title="interface in org.apache.mina.common">WriteFuture</a>&gt;&nbsp;broadcast(java.lang.Object&nbsp;message)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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&nbsp;<a href="../../../../org/apache/mina/common/IoServiceListenerSupport.html" title="class in org.apache.mina.common">IoServiceListenerSupport</a>&nbsp;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&nbsp;void&nbsp;finishSessionInitialization(<a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</a>&nbsp;session,
<a href="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</a>&nbsp;future,
<a href="../../../../org/apache/mina/common/IoSessionInitializer.html" title="interface in org.apache.mina.common">IoSessionInitializer</a>&nbsp;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&nbsp;void&nbsp;finishSessionInitialization0(<a href="../../../../org/apache/mina/common/IoSession.html" title="interface in org.apache.mina.common">IoSession</a>&nbsp;session,
<a href="../../../../org/apache/mina/common/IoFuture.html" title="interface in org.apache.mina.common">IoFuture</a>&nbsp;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&nbsp;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&nbsp;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&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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>