blob: f116b30f15308f645cb5689f1988abc9be1f457c [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>AbstractTransportListener (Apache Axis2)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractTransportListener (Apache Axis2)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"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":6,"i40":10,"i41":6};
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";
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AbstractTransportListener.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" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&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><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.axis2.transport.base</a></div>
<h2 title="Class AbstractTransportListener" class="title">Class AbstractTransportListener</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.axis2.transport.base.AbstractTransportListener</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="../../kernel/TransportListener.html" title="interface in org.apache.axis2.kernel">TransportListener</a></code></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><code><a href="AbstractTransportListenerEx.html" title="class in org.apache.axis2.transport.base">AbstractTransportListenerEx</a></code></dd>
</dl>
<hr>
<pre>public abstract class <span class="typeNameLabel">AbstractTransportListener</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>
implements <a href="../../kernel/TransportListener.html" title="interface in org.apache.axis2.kernel">TransportListener</a></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cfgCtx">cfgCtx</a></span></code></th>
<td class="colLast">
<div class="block">the axis2 configuration context</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="TransportConfiguration.html" title="class in org.apache.axis2.transport.base">TransportConfiguration</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#config">config</a></span></code></th>
<td class="colLast">
<div class="block">Transport Configuration for the respective transports</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isNonBlocking">isNonBlocking</a></span></code></th>
<td class="colLast">
<div class="block">is this transport non-blocking?</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected org.apache.commons.logging.Log</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#log">log</a></span></code></th>
<td class="colLast">
<div class="block">the reference to the actual commons logger to be used for log messages</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="MetricsCollector.html" title="class in org.apache.axis2.transport.base">MetricsCollector</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#metrics">metrics</a></span></code></th>
<td class="colLast">
<div class="block">Metrics collector for this transport</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#state">state</a></span></code></th>
<td class="colLast">
<div class="block">state of the listener</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#useAxis2ThreadPool">useAxis2ThreadPool</a></span></code></th>
<td class="colLast">
<div class="block">use the thread pool available in the axis2 configuration context</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="threads/WorkerPool.html" title="interface in org.apache.axis2.transport.base.threads">WorkerPool</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#workerPool">workerPool</a></span></code></th>
<td class="colLast">
<div class="block">the thread pool to execute actual poll invocations</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.axis2.kernel.TransportListener">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.axis2.kernel.<a href="../../kernel/TransportListener.html" title="interface in org.apache.axis2.kernel">TransportListener</a></h3>
<code><a href="../../kernel/TransportListener.html#HOST_ADDRESS">HOST_ADDRESS</a>, <a href="../../kernel/TransportListener.html#PARAM_PORT">PARAM_PORT</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colSecond" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">AbstractTransportListener</a></span>()</code></th>
<td class="colLast">
<div class="block">A constructor that makes subclasses pick up the correct logger</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<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="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createMessageContext()">createMessageContext</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new axis MessageContext for an incoming message through this transport</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#destroy()">destroy</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#disableTransportForService(org.apache.axis2.description.AxisService)">disableTransportForService</a></span>&#8203;(<a href="../../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getActiveThreadCount()">getActiveThreadCount</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the number of active threads processing messages</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAvgSizeReceived()">getAvgSizeReceived</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAvgSizeSent()">getAvgSizeSent</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytesReceived()">getBytesReceived</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBytesSent()">getBytesSent</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConfigurationContext()">getConfigurationContext</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEPRForService(java.lang.String,java.lang.String)">getEPRForService</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;serviceName,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;ip)</code></th>
<td class="colLast">
<div class="block">This is a deprecated method in Axis2 and this default implementation returns the first
result from the getEPRsForService() method</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>protected <a href="../../addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEPRsForService(java.lang.String)">getEPRsForService</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;serviceName)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEPRsForService(java.lang.String,java.lang.String)">getEPRsForService</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;serviceName,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;ip)</code></th>
<td class="colLast">
<div class="block">Get the endpoint references for a given service.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFaultsReceiving()">getFaultsReceiving</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFaultsSending()">getFaultsSending</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLastResetTime()">getLastResetTime</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxSizeReceived()">getMaxSizeReceived</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxSizeSent()">getMaxSizeSent</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMessagesReceived()">getMessagesReceived</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMessagesSent()">getMessagesSent</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="MetricsCollector.html" title="class in org.apache.axis2.transport.base">MetricsCollector</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMetricsCollector()">getMetricsCollector</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMetricsWindow()">getMetricsWindow</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMinSizeReceived()">getMinSizeReceived</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMinSizeSent()">getMinSizeSent</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getQueueSize()">getQueueSize</a></span>()</code></th>
<td class="colLast">
<div class="block">Return the number of requests queued in the thread pool</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getResponseCodeTable()">getResponseCodeTable</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="../../context/SessionContext.html" title="class in org.apache.axis2.context">SessionContext</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSessionContext(org.apache.axis2.context.MessageContext)">getSessionContext</a></span>&#8203;(<a href="../../context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;messageContext)</code></th>
<td class="colLast">
<div class="block">To get the sessionContext transport dependent manner.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTimeoutsReceiving()">getTimeoutsReceiving</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTimeoutsSending()">getTimeoutsSending</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="../../description/TransportInDescription.html" title="class in org.apache.axis2.description">TransportInDescription</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTransportInDescription()">getTransportInDescription</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTransportName()">getTransportName</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleException(java.lang.String,java.lang.Exception)">handleException</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;msg,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a>&nbsp;e)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleIncomingMessage(org.apache.axis2.context.MessageContext,java.util.Map,java.lang.String,java.lang.String)">handleIncomingMessage</a></span>&#8203;(<a href="../../context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;msgCtx,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&nbsp;trpHeaders,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;soapAction,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;contentType)</code></th>
<td class="colLast">
<div class="block">Process a new incoming message through the axis engine</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#init(org.apache.axis2.context.ConfigurationContext,org.apache.axis2.description.TransportInDescription)">init</a></span>&#8203;(<a href="../../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;cfgCtx,
<a href="../../description/TransportInDescription.html" title="class in org.apache.axis2.description">TransportInDescription</a>&nbsp;transportIn)</code></th>
<td class="colLast">
<div class="block">Initialize the generic transport.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#logException(java.lang.String,java.lang.Exception)">logException</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;msg,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a>&nbsp;e)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#maintenenceShutdown(long)">maintenenceShutdown</a></span>&#8203;(long&nbsp;millis)</code></th>
<td class="colLast">
<div class="block">Stop processing new messages, and wait the specified maximum time for in-flight
requests to complete before a controlled shutdown for maintenence</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pause()">pause</a></span>()</code></th>
<td class="colLast">
<div class="block">Pause the listener - Stop accepting/processing new messages, but continues processing existing
messages until they complete.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resetStatistics()">resetStatistics</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resume()">resume</a></span>()</code></th>
<td class="colLast">
<div class="block">Resume the lister - Brings the lister into active mode back from a paused state</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#start()">start</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>protected abstract void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#startListeningForService(org.apache.axis2.description.AxisService)">startListeningForService</a></span>&#8203;(<a href="../../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stop()">stop</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>protected abstract void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stopListeningForService(org.apache.axis2.description.AxisService)">stopListeningForService</a></span>&#8203;(<a href="../../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;service)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="log">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>log</h4>
<pre>protected&nbsp;org.apache.commons.logging.Log log</pre>
<div class="block">the reference to the actual commons logger to be used for log messages</div>
</li>
</ul>
<a id="cfgCtx">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cfgCtx</h4>
<pre>protected&nbsp;<a href="../../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> cfgCtx</pre>
<div class="block">the axis2 configuration context</div>
</li>
</ul>
<a id="state">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>state</h4>
<pre>protected&nbsp;int state</pre>
<div class="block">state of the listener</div>
</li>
</ul>
<a id="isNonBlocking">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNonBlocking</h4>
<pre>protected&nbsp;boolean isNonBlocking</pre>
<div class="block">is this transport non-blocking?</div>
</li>
</ul>
<a id="workerPool">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>workerPool</h4>
<pre>protected&nbsp;<a href="threads/WorkerPool.html" title="interface in org.apache.axis2.transport.base.threads">WorkerPool</a> workerPool</pre>
<div class="block">the thread pool to execute actual poll invocations</div>
</li>
</ul>
<a id="useAxis2ThreadPool">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>useAxis2ThreadPool</h4>
<pre>protected&nbsp;boolean useAxis2ThreadPool</pre>
<div class="block">use the thread pool available in the axis2 configuration context</div>
</li>
</ul>
<a id="metrics">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>metrics</h4>
<pre>protected&nbsp;<a href="MetricsCollector.html" title="class in org.apache.axis2.transport.base">MetricsCollector</a> metrics</pre>
<div class="block">Metrics collector for this transport</div>
</li>
</ul>
<a id="config">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>config</h4>
<pre>protected&nbsp;<a href="TransportConfiguration.html" title="class in org.apache.axis2.transport.base">TransportConfiguration</a> config</pre>
<div class="block">Transport Configuration for the respective transports</div>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractTransportListener</h4>
<pre>protected&nbsp;AbstractTransportListener()</pre>
<div class="block">A constructor that makes subclasses pick up the correct logger</div>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="init(org.apache.axis2.context.ConfigurationContext,org.apache.axis2.description.TransportInDescription)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;init&#8203;(<a href="../../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;cfgCtx,
<a href="../../description/TransportInDescription.html" title="class in org.apache.axis2.description">TransportInDescription</a>&nbsp;transportIn)
throws <a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Initialize the generic transport. Sets up the transport and the thread pool to be used
for message processing. Also creates an AxisObserver that gets notified of service
life cycle events for the transport to act on</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../kernel/TransportListener.html#init(org.apache.axis2.context.ConfigurationContext,org.apache.axis2.description.TransportInDescription)">init</a></code>&nbsp;in interface&nbsp;<code><a href="../../kernel/TransportListener.html" title="interface in org.apache.axis2.kernel">TransportListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cfgCtx</code> - the axis configuration context</dd>
<dd><code>transportIn</code> - the transport-in description</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - on error</dd>
</dl>
</li>
</ul>
<a id="destroy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>destroy</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;destroy()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../kernel/TransportListener.html#destroy()">destroy</a></code>&nbsp;in interface&nbsp;<code><a href="../../kernel/TransportListener.html" title="interface in org.apache.axis2.kernel">TransportListener</a></code></dd>
</dl>
</li>
</ul>
<a id="stop()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stop</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;stop()
throws <a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../kernel/TransportListener.html#stop()">stop</a></code>&nbsp;in interface&nbsp;<code><a href="../../kernel/TransportListener.html" title="interface in org.apache.axis2.kernel">TransportListener</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd>
</dl>
</li>
</ul>
<a id="start()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;start()
throws <a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../kernel/TransportListener.html#start()">start</a></code>&nbsp;in interface&nbsp;<code><a href="../../kernel/TransportListener.html" title="interface in org.apache.axis2.kernel">TransportListener</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd>
</dl>
</li>
</ul>
<a id="getEPRsForService(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEPRsForService</h4>
<pre class="methodSignature">public&nbsp;<a href="../../addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>[]&nbsp;getEPRsForService&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;serviceName,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;ip)
throws <a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../kernel/TransportListener.html#getEPRsForService(java.lang.String,java.lang.String)">TransportListener</a></code></span></div>
<div class="block">Get the endpoint references for a given service. These are the addresses that a client
can use to send requests to the given service through this transport.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../kernel/TransportListener.html#getEPRsForService(java.lang.String,java.lang.String)">getEPRsForService</a></code>&nbsp;in interface&nbsp;<code><a href="../../kernel/TransportListener.html" title="interface in org.apache.axis2.kernel">TransportListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>serviceName</code> - TODO: this is actually not simply the service name!</dd>
<dd><code>ip</code> - The host name or IP address of the local host. The implementation should use
this information instead of <a href="https://docs.oracle.com/javase/7/docs/api/java/net/InetAddress.html?is-external=true#getLocalHost()" title="class or interface in java.net" class="externalLink"><code>InetAddress.getLocalHost()</code></a>.
The value of this parameter may be <code>null</code>, in which case the
implementation should use <a href="../../util/Utils.html#getIpAddress(org.apache.axis2.engine.AxisConfiguration)"><code>Utils.getIpAddress(
org.apache.axis2.engine.AxisConfiguration)</code></a>.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array of endpoint references for the given service</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd>
</dl>
</li>
</ul>
<a id="getEPRsForService(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEPRsForService</h4>
<pre class="methodSignature">protected&nbsp;<a href="../../addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>[]&nbsp;getEPRsForService&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;serviceName)</pre>
</li>
</ul>
<a id="disableTransportForService(org.apache.axis2.description.AxisService)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>disableTransportForService</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;disableTransportForService&#8203;(<a href="../../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;service)</pre>
</li>
</ul>
<a id="startListeningForService(org.apache.axis2.description.AxisService)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startListeningForService</h4>
<pre class="methodSignature">protected abstract&nbsp;void&nbsp;startListeningForService&#8203;(<a href="../../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;service)
throws <a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd>
</dl>
</li>
</ul>
<a id="stopListeningForService(org.apache.axis2.description.AxisService)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stopListeningForService</h4>
<pre class="methodSignature">protected abstract&nbsp;void&nbsp;stopListeningForService&#8203;(<a href="../../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;service)</pre>
</li>
</ul>
<a id="getEPRForService(java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEPRForService</h4>
<pre class="methodSignature">public&nbsp;<a href="../../addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;getEPRForService&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;serviceName,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;ip)
throws <a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">This is a deprecated method in Axis2 and this default implementation returns the first
result from the getEPRsForService() method</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd>
</dl>
</li>
</ul>
<a id="getSessionContext(org.apache.axis2.context.MessageContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSessionContext</h4>
<pre class="methodSignature">public&nbsp;<a href="../../context/SessionContext.html" title="class in org.apache.axis2.context">SessionContext</a>&nbsp;getSessionContext&#8203;(<a href="../../context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;messageContext)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../kernel/TransportListener.html#getSessionContext(org.apache.axis2.context.MessageContext)">TransportListener</a></code></span></div>
<div class="block">To get the sessionContext transport dependent manner. So that transport listener
can return its own implementation of session managment</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../kernel/TransportListener.html#getSessionContext(org.apache.axis2.context.MessageContext)">getSessionContext</a></code>&nbsp;in interface&nbsp;<code><a href="../../kernel/TransportListener.html" title="interface in org.apache.axis2.kernel">TransportListener</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>messageContext</code> - : MessageContext which has all the relavent data</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SessionContext</dd>
</dl>
</li>
</ul>
<a id="createMessageContext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createMessageContext</h4>
<pre class="methodSignature">public&nbsp;<a href="../../context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;createMessageContext()</pre>
<div class="block">Create a new axis MessageContext for an incoming message through this transport</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the newly created message context</dd>
</dl>
</li>
</ul>
<a id="handleIncomingMessage(org.apache.axis2.context.MessageContext,java.util.Map,java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleIncomingMessage</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;handleIncomingMessage&#8203;(<a href="../../context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;msgCtx,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&nbsp;trpHeaders,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;soapAction,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;contentType)
throws <a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Process a new incoming message through the axis engine</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>msgCtx</code> - the axis MessageContext</dd>
<dd><code>trpHeaders</code> - the map containing transport level message headers</dd>
<dd><code>soapAction</code> - the optional soap action or null</dd>
<dd><code>contentType</code> - the optional content-type for the message</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd>
</dl>
</li>
</ul>
<a id="handleException(java.lang.String,java.lang.Exception)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleException</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;handleException&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;msg,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a>&nbsp;e)
throws <a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd>
</dl>
</li>
</ul>
<a id="logException(java.lang.String,java.lang.Exception)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logException</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;logException&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;msg,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a>&nbsp;e)</pre>
</li>
</ul>
<a id="getTransportInDescription()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTransportInDescription</h4>
<pre class="methodSignature">public&nbsp;<a href="../../description/TransportInDescription.html" title="class in org.apache.axis2.description">TransportInDescription</a>&nbsp;getTransportInDescription()</pre>
</li>
</ul>
<a id="getTransportName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTransportName</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getTransportName()</pre>
</li>
</ul>
<a id="getConfigurationContext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfigurationContext</h4>
<pre class="methodSignature">public&nbsp;<a href="../../context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;getConfigurationContext()</pre>
</li>
</ul>
<a id="getMetricsCollector()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMetricsCollector</h4>
<pre class="methodSignature">public&nbsp;<a href="MetricsCollector.html" title="class in org.apache.axis2.transport.base">MetricsCollector</a>&nbsp;getMetricsCollector()</pre>
</li>
</ul>
<a id="pause()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pause</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;pause()
throws <a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Pause the listener - Stop accepting/processing new messages, but continues processing existing
messages until they complete. This helps bring an instance into a maintenence mode</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - on error</dd>
</dl>
</li>
</ul>
<a id="resume()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resume</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;resume()
throws <a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Resume the lister - Brings the lister into active mode back from a paused state</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - on error</dd>
</dl>
</li>
</ul>
<a id="maintenenceShutdown(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maintenenceShutdown</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;maintenenceShutdown&#8203;(long&nbsp;millis)
throws <a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">Stop processing new messages, and wait the specified maximum time for in-flight
requests to complete before a controlled shutdown for maintenence</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>millis</code> - a number of milliseconds to wait until pending requests are allowed to complete</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - on error</dd>
</dl>
</li>
</ul>
<a id="getActiveThreadCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getActiveThreadCount</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getActiveThreadCount()</pre>
<div class="block">Returns the number of active threads processing messages</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of active threads processing messages</dd>
</dl>
</li>
</ul>
<a id="getQueueSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQueueSize</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getQueueSize()</pre>
<div class="block">Return the number of requests queued in the thread pool</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>queue size</dd>
</dl>
</li>
</ul>
<a id="getMessagesReceived()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMessagesReceived</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getMessagesReceived()</pre>
</li>
</ul>
<a id="getFaultsReceiving()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFaultsReceiving</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getFaultsReceiving()</pre>
</li>
</ul>
<a id="getBytesReceived()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytesReceived</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getBytesReceived()</pre>
</li>
</ul>
<a id="getMessagesSent()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMessagesSent</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getMessagesSent()</pre>
</li>
</ul>
<a id="getFaultsSending()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFaultsSending</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getFaultsSending()</pre>
</li>
</ul>
<a id="getBytesSent()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytesSent</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getBytesSent()</pre>
</li>
</ul>
<a id="getTimeoutsReceiving()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTimeoutsReceiving</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getTimeoutsReceiving()</pre>
</li>
</ul>
<a id="getTimeoutsSending()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTimeoutsSending</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getTimeoutsSending()</pre>
</li>
</ul>
<a id="getMinSizeReceived()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinSizeReceived</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getMinSizeReceived()</pre>
</li>
</ul>
<a id="getMaxSizeReceived()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxSizeReceived</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getMaxSizeReceived()</pre>
</li>
</ul>
<a id="getAvgSizeReceived()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAvgSizeReceived</h4>
<pre class="methodSignature">public&nbsp;double&nbsp;getAvgSizeReceived()</pre>
</li>
</ul>
<a id="getMinSizeSent()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinSizeSent</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getMinSizeSent()</pre>
</li>
</ul>
<a id="getMaxSizeSent()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxSizeSent</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getMaxSizeSent()</pre>
</li>
</ul>
<a id="getAvgSizeSent()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAvgSizeSent</h4>
<pre class="methodSignature">public&nbsp;double&nbsp;getAvgSizeSent()</pre>
</li>
</ul>
<a id="getResponseCodeTable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResponseCodeTable</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&nbsp;getResponseCodeTable()</pre>
</li>
</ul>
<a id="resetStatistics()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetStatistics</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;resetStatistics()</pre>
</li>
</ul>
<a id="getLastResetTime()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastResetTime</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getLastResetTime()</pre>
</li>
</ul>
<a id="getMetricsWindow()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getMetricsWindow</h4>
<pre class="methodSignature">public&nbsp;long&nbsp;getMetricsWindow()</pre>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AbstractTransportListener.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" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&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><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &copy; <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
</footer>
</body>
</html>