blob: 115cd16af02ada0c6232a5f1454663567c7d4211 [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>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>AbstractTransportListener (Apache Axis2)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractTransportListener (Apache Axis2)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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/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">
<li><a href="../../../../../org/apache/axis2/transport/base/AbstractPollTableEntry.html" title="class in org.apache.axis2.transport.base"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListenerEx.html" title="class in org.apache.axis2.transport.base"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/axis2/transport/base/AbstractTransportListener.html" target="_top">Frames</a></li>
<li><a href="AbstractTransportListener.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&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 name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.axis2.transport.base</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">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><a href="../../../../../org/apache/axis2/transport/TransportListener.html" title="interface in org.apache.axis2.transport">TransportListener</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListenerEx.html" title="class in org.apache.axis2.transport.base">AbstractTransportListenerEx</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="strong">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">Object</a>
implements <a href="../../../../../org/apache/axis2/transport/TransportListener.html" title="interface in org.apache.axis2.transport">TransportListener</a></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#cfgCtx">cfgCtx</a></strong></code>
<div class="block">the axis2 configuration context</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/axis2/transport/base/TransportConfiguration.html" title="class in org.apache.axis2.transport.base">TransportConfiguration</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#config">config</a></strong></code>
<div class="block">Transport Configuration for the respective transports</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#isNonBlocking">isNonBlocking</a></strong></code>
<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>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#log">log</a></strong></code>
<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="../../../../../org/apache/axis2/transport/base/MetricsCollector.html" title="class in org.apache.axis2.transport.base">MetricsCollector</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#metrics">metrics</a></strong></code>
<div class="block">Metrics collector for this transport</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#state">state</a></strong></code>
<div class="block">state of the listener</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#useAxis2ThreadPool">useAxis2ThreadPool</a></strong></code>
<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="../../../../../org/apache/axis2/transport/base/threads/WorkerPool.html" title="interface in org.apache.axis2.transport.base.threads">WorkerPool</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#workerPool">workerPool</a></strong></code>
<div class="block">the thread pool to execute actual poll invocations</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.axis2.transport.TransportListener">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.axis2.transport.<a href="../../../../../org/apache/axis2/transport/TransportListener.html" title="interface in org.apache.axis2.transport">TransportListener</a></h3>
<code><a href="../../../../../org/apache/axis2/transport/TransportListener.html#HOST_ADDRESS">HOST_ADDRESS</a>, <a href="../../../../../org/apache/axis2/transport/TransportListener.html#PARAM_PORT">PARAM_PORT</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" 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><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#AbstractTransportListener()">AbstractTransportListener</a></strong>()</code>
<div class="block">A constructor that makes subclasses pick up the correct logger</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#createMessageContext()">createMessageContext</a></strong>()</code>
<div class="block">Create a new axis MessageContext for an incoming message through this transport</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#destroy()">destroy</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#disableTransportForService(org.apache.axis2.description.AxisService)">disableTransportForService</a></strong>(<a href="../../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;service)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getActiveThreadCount()">getActiveThreadCount</a></strong>()</code>
<div class="block">Returns the number of active threads processing messages</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getAvgSizeReceived()">getAvgSizeReceived</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getAvgSizeSent()">getAvgSizeSent</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getBytesReceived()">getBytesReceived</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getBytesSent()">getBytesSent</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getConfigurationContext()">getConfigurationContext</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getEPRForService(java.lang.String, java.lang.String)">getEPRForService</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">String</a>&nbsp;ip)</code>
<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 class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getEPRsForService(java.lang.String)">getEPRsForService</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;serviceName)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getEPRsForService(java.lang.String, java.lang.String)">getEPRsForService</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">String</a>&nbsp;ip)</code>
<div class="block">Get the endpoint references for a given service.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getFaultsReceiving()">getFaultsReceiving</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getFaultsSending()">getFaultsSending</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getLastResetTime()">getLastResetTime</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMaxSizeReceived()">getMaxSizeReceived</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMaxSizeSent()">getMaxSizeSent</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMessagesReceived()">getMessagesReceived</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMessagesSent()">getMessagesSent</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/axis2/transport/base/MetricsCollector.html" title="class in org.apache.axis2.transport.base">MetricsCollector</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMetricsCollector()">getMetricsCollector</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMetricsWindow()">getMetricsWindow</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMinSizeReceived()">getMinSizeReceived</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMinSizeSent()">getMinSizeSent</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getQueueSize()">getQueueSize</a></strong>()</code>
<div class="block">Return the number of requests queued in the thread pool</div>
</td>
</tr>
<tr 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">Map</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getResponseCodeTable()">getResponseCodeTable</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/axis2/context/SessionContext.html" title="class in org.apache.axis2.context">SessionContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getSessionContext(org.apache.axis2.context.MessageContext)">getSessionContext</a></strong>(<a href="../../../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;messageContext)</code>
<div class="block">To get the sessionContext transport dependent manner.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getTimeoutsReceiving()">getTimeoutsReceiving</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getTimeoutsSending()">getTimeoutsSending</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/axis2/description/TransportInDescription.html" title="class in org.apache.axis2.description">TransportInDescription</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getTransportInDescription()">getTransportInDescription</a></strong>()</code>&nbsp;</td>
</tr>
<tr 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">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getTransportName()">getTransportName</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#handleException(java.lang.String, java.lang.Exception)">handleException</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">Exception</a>&nbsp;e)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#handleIncomingMessage(org.apache.axis2.context.MessageContext, java.util.Map, java.lang.String, java.lang.String)">handleIncomingMessage</a></strong>(<a href="../../../../../org/apache/axis2/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">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">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">String</a>&nbsp;contentType)</code>
<div class="block">Process a new incoming message through the axis engine</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#init(org.apache.axis2.context.ConfigurationContext, org.apache.axis2.description.TransportInDescription)">init</a></strong>(<a href="../../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;cfgCtx,
<a href="../../../../../org/apache/axis2/description/TransportInDescription.html" title="class in org.apache.axis2.description">TransportInDescription</a>&nbsp;transportIn)</code>
<div class="block">Initialize the generic transport.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#logException(java.lang.String, java.lang.Exception)">logException</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">Exception</a>&nbsp;e)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#maintenenceShutdown(long)">maintenenceShutdown</a></strong>(long&nbsp;millis)</code>
<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 class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#pause()">pause</a></strong>()</code>
<div class="block">Pause the listener - Stop accepting/processing new messages, but continues processing existing
messages until they complete.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#resetStatistics()">resetStatistics</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#resume()">resume</a></strong>()</code>
<div class="block">Resume the lister - Brings the lister into active mode back from a paused state</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#start()">start</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected abstract void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#startListeningForService(org.apache.axis2.description.AxisService)">startListeningForService</a></strong>(<a href="../../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;service)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#stop()">stop</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected abstract void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#stopListeningForService(org.apache.axis2.description.AxisService)">stopListeningForService</a></strong>(<a href="../../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;service)</code>&nbsp;</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.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">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">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">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">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">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">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">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">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">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">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">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">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="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 name="cfgCtx">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cfgCtx</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/axis2/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 name="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 name="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 name="workerPool">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>workerPool</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/axis2/transport/base/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 name="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 name="metrics">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>metrics</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/axis2/transport/base/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 name="config">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>config</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/axis2/transport/base/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>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractTransportListener()">
<!-- -->
</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>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="init(org.apache.axis2.context.ConfigurationContext, org.apache.axis2.description.TransportInDescription)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>public&nbsp;void&nbsp;init(<a href="../../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;cfgCtx,
<a href="../../../../../org/apache/axis2/description/TransportInDescription.html" title="class in org.apache.axis2.description">TransportInDescription</a>&nbsp;transportIn)
throws <a href="../../../../../org/apache/axis2/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><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/axis2/transport/TransportListener.html#init(org.apache.axis2.context.ConfigurationContext, org.apache.axis2.description.TransportInDescription)">init</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/transport/TransportListener.html" title="interface in org.apache.axis2.transport">TransportListener</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>cfgCtx</code> - the axis configuration context</dd><dd><code>transportIn</code> - the transport-in description</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - on error</dd></dl>
</li>
</ul>
<a name="destroy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>destroy</h4>
<pre>public&nbsp;void&nbsp;destroy()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/axis2/transport/TransportListener.html#destroy()">destroy</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/transport/TransportListener.html" title="interface in org.apache.axis2.transport">TransportListener</a></code></dd>
</dl>
</li>
</ul>
<a name="stop()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stop</h4>
<pre>public&nbsp;void&nbsp;stop()
throws <a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/axis2/transport/TransportListener.html#stop()">stop</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/transport/TransportListener.html" title="interface in org.apache.axis2.transport">TransportListener</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl>
</li>
</ul>
<a name="start()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
<pre>public&nbsp;void&nbsp;start()
throws <a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/axis2/transport/TransportListener.html#start()">start</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/transport/TransportListener.html" title="interface in org.apache.axis2.transport">TransportListener</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl>
</li>
</ul>
<a name="getEPRsForService(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEPRsForService</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>[]&nbsp;getEPRsForService(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">String</a>&nbsp;ip)
throws <a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/axis2/transport/TransportListener.html#getEPRsForService(java.lang.String, java.lang.String)">TransportListener</a></code></strong></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><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/axis2/transport/TransportListener.html#getEPRsForService(java.lang.String, java.lang.String)">getEPRsForService</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/transport/TransportListener.html" title="interface in org.apache.axis2.transport">TransportListener</a></code></dd>
<dt><span class="strong">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"><code>InetAddress.getLocalHost()</code></a>.
The value of this parameter may be <code>null</code>, in which case the
implementation should use <a href="../../../../../org/apache/axis2/util/Utils.html#getIpAddress(org.apache.axis2.engine.AxisConfiguration)"><code>Utils.getIpAddress(
org.apache.axis2.engine.AxisConfiguration)</code></a>.</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of endpoint references for the given service</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl>
</li>
</ul>
<a name="getEPRsForService(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEPRsForService</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>[]&nbsp;getEPRsForService(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;serviceName)</pre>
</li>
</ul>
<a name="disableTransportForService(org.apache.axis2.description.AxisService)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>disableTransportForService</h4>
<pre>public&nbsp;void&nbsp;disableTransportForService(<a href="../../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;service)</pre>
</li>
</ul>
<a name="startListeningForService(org.apache.axis2.description.AxisService)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startListeningForService</h4>
<pre>protected abstract&nbsp;void&nbsp;startListeningForService(<a href="../../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;service)
throws <a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl>
</li>
</ul>
<a name="stopListeningForService(org.apache.axis2.description.AxisService)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stopListeningForService</h4>
<pre>protected abstract&nbsp;void&nbsp;stopListeningForService(<a href="../../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;service)</pre>
</li>
</ul>
<a name="getEPRForService(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEPRForService</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/axis2/addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;getEPRForService(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">String</a>&nbsp;ip)
throws <a href="../../../../../org/apache/axis2/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="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl>
</li>
</ul>
<a name="getSessionContext(org.apache.axis2.context.MessageContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSessionContext</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/axis2/context/SessionContext.html" title="class in org.apache.axis2.context">SessionContext</a>&nbsp;getSessionContext(<a href="../../../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a>&nbsp;messageContext)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/axis2/transport/TransportListener.html#getSessionContext(org.apache.axis2.context.MessageContext)">TransportListener</a></code></strong></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><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/axis2/transport/TransportListener.html#getSessionContext(org.apache.axis2.context.MessageContext)">getSessionContext</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/transport/TransportListener.html" title="interface in org.apache.axis2.transport">TransportListener</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>messageContext</code> - : MessageContext which has all the relavent data</dd>
<dt><span class="strong">Returns:</span></dt><dd>SessionContext</dd></dl>
</li>
</ul>
<a name="createMessageContext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createMessageContext</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/axis2/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="strong">Returns:</span></dt><dd>the newly created message context</dd></dl>
</li>
</ul>
<a name="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>public&nbsp;void&nbsp;handleIncomingMessage(<a href="../../../../../org/apache/axis2/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">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">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">String</a>&nbsp;contentType)
throws <a href="../../../../../org/apache/axis2/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="strong">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="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl>
</li>
</ul>
<a name="handleException(java.lang.String, java.lang.Exception)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleException</h4>
<pre>protected&nbsp;void&nbsp;handleException(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">Exception</a>&nbsp;e)
throws <a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl>
</li>
</ul>
<a name="logException(java.lang.String, java.lang.Exception)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logException</h4>
<pre>protected&nbsp;void&nbsp;logException(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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">Exception</a>&nbsp;e)</pre>
</li>
</ul>
<a name="getTransportInDescription()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTransportInDescription</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/axis2/description/TransportInDescription.html" title="class in org.apache.axis2.description">TransportInDescription</a>&nbsp;getTransportInDescription()</pre>
</li>
</ul>
<a name="getTransportName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTransportName</h4>
<pre>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">String</a>&nbsp;getTransportName()</pre>
</li>
</ul>
<a name="getConfigurationContext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfigurationContext</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;getConfigurationContext()</pre>
</li>
</ul>
<a name="getMetricsCollector()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMetricsCollector</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/axis2/transport/base/MetricsCollector.html" title="class in org.apache.axis2.transport.base">MetricsCollector</a>&nbsp;getMetricsCollector()</pre>
</li>
</ul>
<a name="pause()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pause</h4>
<pre>public&nbsp;void&nbsp;pause()
throws <a href="../../../../../org/apache/axis2/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="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - on error</dd></dl>
</li>
</ul>
<a name="resume()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resume</h4>
<pre>public&nbsp;void&nbsp;resume()
throws <a href="../../../../../org/apache/axis2/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="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - on error</dd></dl>
</li>
</ul>
<a name="maintenenceShutdown(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maintenenceShutdown</h4>
<pre>public&nbsp;void&nbsp;maintenenceShutdown(long&nbsp;millis)
throws <a href="../../../../../org/apache/axis2/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="strong">Parameters:</span></dt><dd><code>millis</code> - a number of milliseconds to wait until pending requests are allowed to complete</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - on error</dd></dl>
</li>
</ul>
<a name="getActiveThreadCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getActiveThreadCount</h4>
<pre>public&nbsp;int&nbsp;getActiveThreadCount()</pre>
<div class="block">Returns the number of active threads processing messages</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>number of active threads processing messages</dd></dl>
</li>
</ul>
<a name="getQueueSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQueueSize</h4>
<pre>public&nbsp;int&nbsp;getQueueSize()</pre>
<div class="block">Return the number of requests queued in the thread pool</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>queue size</dd></dl>
</li>
</ul>
<a name="getMessagesReceived()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMessagesReceived</h4>
<pre>public&nbsp;long&nbsp;getMessagesReceived()</pre>
</li>
</ul>
<a name="getFaultsReceiving()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFaultsReceiving</h4>
<pre>public&nbsp;long&nbsp;getFaultsReceiving()</pre>
</li>
</ul>
<a name="getBytesReceived()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytesReceived</h4>
<pre>public&nbsp;long&nbsp;getBytesReceived()</pre>
</li>
</ul>
<a name="getMessagesSent()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMessagesSent</h4>
<pre>public&nbsp;long&nbsp;getMessagesSent()</pre>
</li>
</ul>
<a name="getFaultsSending()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFaultsSending</h4>
<pre>public&nbsp;long&nbsp;getFaultsSending()</pre>
</li>
</ul>
<a name="getBytesSent()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytesSent</h4>
<pre>public&nbsp;long&nbsp;getBytesSent()</pre>
</li>
</ul>
<a name="getTimeoutsReceiving()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTimeoutsReceiving</h4>
<pre>public&nbsp;long&nbsp;getTimeoutsReceiving()</pre>
</li>
</ul>
<a name="getTimeoutsSending()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTimeoutsSending</h4>
<pre>public&nbsp;long&nbsp;getTimeoutsSending()</pre>
</li>
</ul>
<a name="getMinSizeReceived()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinSizeReceived</h4>
<pre>public&nbsp;long&nbsp;getMinSizeReceived()</pre>
</li>
</ul>
<a name="getMaxSizeReceived()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxSizeReceived</h4>
<pre>public&nbsp;long&nbsp;getMaxSizeReceived()</pre>
</li>
</ul>
<a name="getAvgSizeReceived()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAvgSizeReceived</h4>
<pre>public&nbsp;double&nbsp;getAvgSizeReceived()</pre>
</li>
</ul>
<a name="getMinSizeSent()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinSizeSent</h4>
<pre>public&nbsp;long&nbsp;getMinSizeSent()</pre>
</li>
</ul>
<a name="getMaxSizeSent()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxSizeSent</h4>
<pre>public&nbsp;long&nbsp;getMaxSizeSent()</pre>
</li>
</ul>
<a name="getAvgSizeSent()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAvgSizeSent</h4>
<pre>public&nbsp;double&nbsp;getAvgSizeSent()</pre>
</li>
</ul>
<a name="getResponseCodeTable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResponseCodeTable</h4>
<pre>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">Map</a>&nbsp;getResponseCodeTable()</pre>
</li>
</ul>
<a name="resetStatistics()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetStatistics</h4>
<pre>public&nbsp;void&nbsp;resetStatistics()</pre>
</li>
</ul>
<a name="getLastResetTime()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastResetTime</h4>
<pre>public&nbsp;long&nbsp;getLastResetTime()</pre>
</li>
</ul>
<a name="getMetricsWindow()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getMetricsWindow</h4>
<pre>public&nbsp;long&nbsp;getMetricsWindow()</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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/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">
<li><a href="../../../../../org/apache/axis2/transport/base/AbstractPollTableEntry.html" title="class in org.apache.axis2.transport.base"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/apache/axis2/transport/base/AbstractTransportListenerEx.html" title="class in org.apache.axis2.transport.base"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/axis2/transport/base/AbstractTransportListener.html" target="_top">Frames</a></li>
<li><a href="AbstractTransportListener.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&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 name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &copy; <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
</body>
</html>