| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.6.0_13) on Mon Dec 07 14:17:34 IST 2009 --> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| AbstractTransportListener (Apache Axis2 - Transport - Root 1.0.0 API) |
| </TITLE> |
| |
| <META NAME="date" CONTENT="2009-12-07"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="AbstractTransportListener (Apache Axis2 - Transport - Root 1.0.0 API)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbstractTransportListener.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollTableEntry.html" title="class in org.apache.axis2.transport.base"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListenerEx.html" title="class in org.apache.axis2.transport.base"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html?org/apache/axis2/transport/base/AbstractTransportListener.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AbstractTransportListener.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.axis2.transport.base</FONT> |
| <BR> |
| Class AbstractTransportListener</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.axis2.transport.base.AbstractTransportListener</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD>org.apache.axis2.transport.TransportListener</DD> |
| </DL> |
| <DL> |
| <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListenerEx.html" title="class in org.apache.axis2.transport.base">AbstractTransportListenerEx</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public abstract class <B>AbstractTransportListener</B><DT>extends java.lang.Object<DT>implements org.apache.axis2.transport.TransportListener</DL> |
| </PRE> |
| |
| <P> |
| <HR> |
| |
| <P> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected org.apache.axis2.context.ConfigurationContext</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#cfgCtx">cfgCtx</A></B></CODE> |
| |
| <BR> |
| the axis2 configuration context</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../../org/apache/axis2/transport/base/TransportConfiguration.html" title="class in org.apache.axis2.transport.base">TransportConfiguration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#config">config</A></B></CODE> |
| |
| <BR> |
| Transport Configuration for the respective transports</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#isNonBlocking">isNonBlocking</A></B></CODE> |
| |
| <BR> |
| is this transport non-blocking?</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected org.apache.commons.logging.Log</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#log">log</A></B></CODE> |
| |
| <BR> |
| the reference to the actual commons logger to be used for log messages</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../../org/apache/axis2/transport/base/MetricsCollector.html" title="class in org.apache.axis2.transport.base">MetricsCollector</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#metrics">metrics</A></B></CODE> |
| |
| <BR> |
| Metrics collector for this transport</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#state">state</A></B></CODE> |
| |
| <BR> |
| state of the listener</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#useAxis2ThreadPool">useAxis2ThreadPool</A></B></CODE> |
| |
| <BR> |
| use the thread pool available in the axis2 configuration context</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../../org/apache/axis2/transport/base/threads/WorkerPool.html" title="interface in org.apache.axis2.transport.base.threads">WorkerPool</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#workerPool">workerPool</A></B></CODE> |
| |
| <BR> |
| the thread pool to execute actual poll invocations</TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.apache.axis2.transport.TransportListener"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Fields inherited from interface org.apache.axis2.transport.TransportListener</B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>HOST_ADDRESS, PARAM_PORT</CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#AbstractTransportListener()">AbstractTransportListener</A></B>()</CODE> |
| |
| <BR> |
| A constructor that makes subclasses pick up the correct logger</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> org.apache.axis2.context.MessageContext</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#createMessageContext()">createMessageContext</A></B>()</CODE> |
| |
| <BR> |
| Create a new axis MessageContext for an incoming message through this transport</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#destroy()">destroy</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#disableTransportForService(org.apache.axis2.description.AxisService)">disableTransportForService</A></B>(org.apache.axis2.description.AxisService service)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getActiveThreadCount()">getActiveThreadCount</A></B>()</CODE> |
| |
| <BR> |
| Returns the number of active threads processing messages</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> double</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getAvgSizeReceived()">getAvgSizeReceived</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> double</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getAvgSizeSent()">getAvgSizeSent</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getBytesReceived()">getBytesReceived</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getBytesSent()">getBytesSent</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> org.apache.axis2.context.ConfigurationContext</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getConfigurationContext()">getConfigurationContext</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> org.apache.axis2.addressing.EndpointReference</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getEPRForService(java.lang.String, java.lang.String)">getEPRForService</A></B>(java.lang.String serviceName, |
| java.lang.String ip)</CODE> |
| |
| <BR> |
| This is a deprecated method in Axis2 and this default implementation returns the first |
| result from the getEPRsForService() method</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected org.apache.axis2.addressing.EndpointReference[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getEPRsForService(java.lang.String)">getEPRsForService</A></B>(java.lang.String serviceName)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> org.apache.axis2.addressing.EndpointReference[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getEPRsForService(java.lang.String, java.lang.String)">getEPRsForService</A></B>(java.lang.String serviceName, |
| java.lang.String ip)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getFaultsReceiving()">getFaultsReceiving</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getFaultsSending()">getFaultsSending</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getLastResetTime()">getLastResetTime</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMaxSizeReceived()">getMaxSizeReceived</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMaxSizeSent()">getMaxSizeSent</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMessagesReceived()">getMessagesReceived</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMessagesSent()">getMessagesSent</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/apache/axis2/transport/base/MetricsCollector.html" title="class in org.apache.axis2.transport.base">MetricsCollector</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMetricsCollector()">getMetricsCollector</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMetricsWindow()">getMetricsWindow</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMinSizeReceived()">getMinSizeReceived</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMinSizeSent()">getMinSizeSent</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getQueueSize()">getQueueSize</A></B>()</CODE> |
| |
| <BR> |
| Return the number of requests queued in the thread pool</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.util.Map</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getResponseCodeTable()">getResponseCodeTable</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> org.apache.axis2.context.SessionContext</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getSessionContext(org.apache.axis2.context.MessageContext)">getSessionContext</A></B>(org.apache.axis2.context.MessageContext messageContext)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getTimeoutsReceiving()">getTimeoutsReceiving</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getTimeoutsSending()">getTimeoutsSending</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getTransportName()">getTransportName</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#handleException(java.lang.String, java.lang.Exception)">handleException</A></B>(java.lang.String msg, |
| java.lang.Exception e)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><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></B>(org.apache.axis2.context.MessageContext msgCtx, |
| java.util.Map trpHeaders, |
| java.lang.String soapAction, |
| java.lang.String contentType)</CODE> |
| |
| <BR> |
| Process a new incoming message through the axis engine</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#init(org.apache.axis2.context.ConfigurationContext, org.apache.axis2.description.TransportInDescription)">init</A></B>(org.apache.axis2.context.ConfigurationContext cfgCtx, |
| org.apache.axis2.description.TransportInDescription transportIn)</CODE> |
| |
| <BR> |
| Initialize the generic transport.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#logException(java.lang.String, java.lang.Exception)">logException</A></B>(java.lang.String msg, |
| java.lang.Exception e)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#maintenenceShutdown(long)">maintenenceShutdown</A></B>(long millis)</CODE> |
| |
| <BR> |
| Stop processing new messages, and wait the specified maximum time for in-flight |
| requests to complete before a controlled shutdown for maintenence</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#pause()">pause</A></B>()</CODE> |
| |
| <BR> |
| Pause the listener - Stop accepting/processing new messages, but continues processing existing |
| messages until they complete.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#resetStatistics()">resetStatistics</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#resume()">resume</A></B>()</CODE> |
| |
| <BR> |
| Resume the lister - Brings the lister into active mode back from a paused state</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#start()">start</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected abstract void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#startListeningForService(org.apache.axis2.description.AxisService)">startListeningForService</A></B>(org.apache.axis2.description.AxisService service)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#stop()">stop</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected abstract void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#stopListeningForService(org.apache.axis2.description.AxisService)">stopListeningForService</A></B>(org.apache.axis2.description.AxisService service)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="log"><!-- --></A><H3> |
| log</H3> |
| <PRE> |
| protected org.apache.commons.logging.Log <B>log</B></PRE> |
| <DL> |
| <DD>the reference to the actual commons logger to be used for log messages |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="cfgCtx"><!-- --></A><H3> |
| cfgCtx</H3> |
| <PRE> |
| protected org.apache.axis2.context.ConfigurationContext <B>cfgCtx</B></PRE> |
| <DL> |
| <DD>the axis2 configuration context |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="state"><!-- --></A><H3> |
| state</H3> |
| <PRE> |
| protected int <B>state</B></PRE> |
| <DL> |
| <DD>state of the listener |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="isNonBlocking"><!-- --></A><H3> |
| isNonBlocking</H3> |
| <PRE> |
| protected boolean <B>isNonBlocking</B></PRE> |
| <DL> |
| <DD>is this transport non-blocking? |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="workerPool"><!-- --></A><H3> |
| workerPool</H3> |
| <PRE> |
| protected <A HREF="../../../../../org/apache/axis2/transport/base/threads/WorkerPool.html" title="interface in org.apache.axis2.transport.base.threads">WorkerPool</A> <B>workerPool</B></PRE> |
| <DL> |
| <DD>the thread pool to execute actual poll invocations |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="useAxis2ThreadPool"><!-- --></A><H3> |
| useAxis2ThreadPool</H3> |
| <PRE> |
| protected boolean <B>useAxis2ThreadPool</B></PRE> |
| <DL> |
| <DD>use the thread pool available in the axis2 configuration context |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="metrics"><!-- --></A><H3> |
| metrics</H3> |
| <PRE> |
| protected <A HREF="../../../../../org/apache/axis2/transport/base/MetricsCollector.html" title="class in org.apache.axis2.transport.base">MetricsCollector</A> <B>metrics</B></PRE> |
| <DL> |
| <DD>Metrics collector for this transport |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="config"><!-- --></A><H3> |
| config</H3> |
| <PRE> |
| protected <A HREF="../../../../../org/apache/axis2/transport/base/TransportConfiguration.html" title="class in org.apache.axis2.transport.base">TransportConfiguration</A> <B>config</B></PRE> |
| <DL> |
| <DD>Transport Configuration for the respective transports |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="AbstractTransportListener()"><!-- --></A><H3> |
| AbstractTransportListener</H3> |
| <PRE> |
| protected <B>AbstractTransportListener</B>()</PRE> |
| <DL> |
| <DD>A constructor that makes subclasses pick up the correct logger |
| <P> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="init(org.apache.axis2.context.ConfigurationContext, org.apache.axis2.description.TransportInDescription)"><!-- --></A><H3> |
| init</H3> |
| <PRE> |
| public void <B>init</B>(org.apache.axis2.context.ConfigurationContext cfgCtx, |
| org.apache.axis2.description.TransportInDescription transportIn) |
| throws org.apache.axis2.AxisFault</PRE> |
| <DL> |
| <DD>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 |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>init</CODE> in interface <CODE>org.apache.axis2.transport.TransportListener</CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>cfgCtx</CODE> - the axis configuration context<DD><CODE>transportIn</CODE> - the transport-in description |
| <DT><B>Throws:</B> |
| <DD><CODE>org.apache.axis2.AxisFault</CODE> - on error</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="destroy()"><!-- --></A><H3> |
| destroy</H3> |
| <PRE> |
| public void <B>destroy</B>()</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>destroy</CODE> in interface <CODE>org.apache.axis2.transport.TransportListener</CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="stop()"><!-- --></A><H3> |
| stop</H3> |
| <PRE> |
| public void <B>stop</B>() |
| throws org.apache.axis2.AxisFault</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>stop</CODE> in interface <CODE>org.apache.axis2.transport.TransportListener</CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>org.apache.axis2.AxisFault</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="start()"><!-- --></A><H3> |
| start</H3> |
| <PRE> |
| public void <B>start</B>() |
| throws org.apache.axis2.AxisFault</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>start</CODE> in interface <CODE>org.apache.axis2.transport.TransportListener</CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>org.apache.axis2.AxisFault</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getEPRsForService(java.lang.String, java.lang.String)"><!-- --></A><H3> |
| getEPRsForService</H3> |
| <PRE> |
| public org.apache.axis2.addressing.EndpointReference[] <B>getEPRsForService</B>(java.lang.String serviceName, |
| java.lang.String ip) |
| throws org.apache.axis2.AxisFault</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>getEPRsForService</CODE> in interface <CODE>org.apache.axis2.transport.TransportListener</CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>org.apache.axis2.AxisFault</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getEPRsForService(java.lang.String)"><!-- --></A><H3> |
| getEPRsForService</H3> |
| <PRE> |
| protected org.apache.axis2.addressing.EndpointReference[] <B>getEPRsForService</B>(java.lang.String serviceName)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="disableTransportForService(org.apache.axis2.description.AxisService)"><!-- --></A><H3> |
| disableTransportForService</H3> |
| <PRE> |
| public void <B>disableTransportForService</B>(org.apache.axis2.description.AxisService service)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="startListeningForService(org.apache.axis2.description.AxisService)"><!-- --></A><H3> |
| startListeningForService</H3> |
| <PRE> |
| protected abstract void <B>startListeningForService</B>(org.apache.axis2.description.AxisService service) |
| throws org.apache.axis2.AxisFault</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>org.apache.axis2.AxisFault</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="stopListeningForService(org.apache.axis2.description.AxisService)"><!-- --></A><H3> |
| stopListeningForService</H3> |
| <PRE> |
| protected abstract void <B>stopListeningForService</B>(org.apache.axis2.description.AxisService service)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getEPRForService(java.lang.String, java.lang.String)"><!-- --></A><H3> |
| getEPRForService</H3> |
| <PRE> |
| public org.apache.axis2.addressing.EndpointReference <B>getEPRForService</B>(java.lang.String serviceName, |
| java.lang.String ip) |
| throws org.apache.axis2.AxisFault</PRE> |
| <DL> |
| <DD>This is a deprecated method in Axis2 and this default implementation returns the first |
| result from the getEPRsForService() method |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>getEPRForService</CODE> in interface <CODE>org.apache.axis2.transport.TransportListener</CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>org.apache.axis2.AxisFault</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSessionContext(org.apache.axis2.context.MessageContext)"><!-- --></A><H3> |
| getSessionContext</H3> |
| <PRE> |
| public org.apache.axis2.context.SessionContext <B>getSessionContext</B>(org.apache.axis2.context.MessageContext messageContext)</PRE> |
| <DL> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>getSessionContext</CODE> in interface <CODE>org.apache.axis2.transport.TransportListener</CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createMessageContext()"><!-- --></A><H3> |
| createMessageContext</H3> |
| <PRE> |
| public org.apache.axis2.context.MessageContext <B>createMessageContext</B>()</PRE> |
| <DL> |
| <DD>Create a new axis MessageContext for an incoming message through this transport |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the newly created message context</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="handleIncomingMessage(org.apache.axis2.context.MessageContext, java.util.Map, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| handleIncomingMessage</H3> |
| <PRE> |
| public void <B>handleIncomingMessage</B>(org.apache.axis2.context.MessageContext msgCtx, |
| java.util.Map trpHeaders, |
| java.lang.String soapAction, |
| java.lang.String contentType) |
| throws org.apache.axis2.AxisFault</PRE> |
| <DL> |
| <DD>Process a new incoming message through the axis engine |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>msgCtx</CODE> - the axis MessageContext<DD><CODE>trpHeaders</CODE> - the map containing transport level message headers<DD><CODE>soapAction</CODE> - the optional soap action or null<DD><CODE>contentType</CODE> - the optional content-type for the message |
| <DT><B>Throws:</B> |
| <DD><CODE>org.apache.axis2.AxisFault</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="handleException(java.lang.String, java.lang.Exception)"><!-- --></A><H3> |
| handleException</H3> |
| <PRE> |
| protected void <B>handleException</B>(java.lang.String msg, |
| java.lang.Exception e) |
| throws org.apache.axis2.AxisFault</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>org.apache.axis2.AxisFault</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="logException(java.lang.String, java.lang.Exception)"><!-- --></A><H3> |
| logException</H3> |
| <PRE> |
| protected void <B>logException</B>(java.lang.String msg, |
| java.lang.Exception e)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTransportName()"><!-- --></A><H3> |
| getTransportName</H3> |
| <PRE> |
| public java.lang.String <B>getTransportName</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConfigurationContext()"><!-- --></A><H3> |
| getConfigurationContext</H3> |
| <PRE> |
| public org.apache.axis2.context.ConfigurationContext <B>getConfigurationContext</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMetricsCollector()"><!-- --></A><H3> |
| getMetricsCollector</H3> |
| <PRE> |
| public <A HREF="../../../../../org/apache/axis2/transport/base/MetricsCollector.html" title="class in org.apache.axis2.transport.base">MetricsCollector</A> <B>getMetricsCollector</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="pause()"><!-- --></A><H3> |
| pause</H3> |
| <PRE> |
| public void <B>pause</B>() |
| throws org.apache.axis2.AxisFault</PRE> |
| <DL> |
| <DD>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 |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>org.apache.axis2.AxisFault</CODE> - on error</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="resume()"><!-- --></A><H3> |
| resume</H3> |
| <PRE> |
| public void <B>resume</B>() |
| throws org.apache.axis2.AxisFault</PRE> |
| <DL> |
| <DD>Resume the lister - Brings the lister into active mode back from a paused state |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>org.apache.axis2.AxisFault</CODE> - on error</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="maintenenceShutdown(long)"><!-- --></A><H3> |
| maintenenceShutdown</H3> |
| <PRE> |
| public void <B>maintenenceShutdown</B>(long millis) |
| throws org.apache.axis2.AxisFault</PRE> |
| <DL> |
| <DD>Stop processing new messages, and wait the specified maximum time for in-flight |
| requests to complete before a controlled shutdown for maintenence |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>millis</CODE> - a number of milliseconds to wait until pending requests are allowed to complete |
| <DT><B>Throws:</B> |
| <DD><CODE>org.apache.axis2.AxisFault</CODE> - on error</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getActiveThreadCount()"><!-- --></A><H3> |
| getActiveThreadCount</H3> |
| <PRE> |
| public int <B>getActiveThreadCount</B>()</PRE> |
| <DL> |
| <DD>Returns the number of active threads processing messages |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>number of active threads processing messages</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getQueueSize()"><!-- --></A><H3> |
| getQueueSize</H3> |
| <PRE> |
| public int <B>getQueueSize</B>()</PRE> |
| <DL> |
| <DD>Return the number of requests queued in the thread pool |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>queue size</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMessagesReceived()"><!-- --></A><H3> |
| getMessagesReceived</H3> |
| <PRE> |
| public long <B>getMessagesReceived</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFaultsReceiving()"><!-- --></A><H3> |
| getFaultsReceiving</H3> |
| <PRE> |
| public long <B>getFaultsReceiving</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getBytesReceived()"><!-- --></A><H3> |
| getBytesReceived</H3> |
| <PRE> |
| public long <B>getBytesReceived</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMessagesSent()"><!-- --></A><H3> |
| getMessagesSent</H3> |
| <PRE> |
| public long <B>getMessagesSent</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFaultsSending()"><!-- --></A><H3> |
| getFaultsSending</H3> |
| <PRE> |
| public long <B>getFaultsSending</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getBytesSent()"><!-- --></A><H3> |
| getBytesSent</H3> |
| <PRE> |
| public long <B>getBytesSent</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTimeoutsReceiving()"><!-- --></A><H3> |
| getTimeoutsReceiving</H3> |
| <PRE> |
| public long <B>getTimeoutsReceiving</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTimeoutsSending()"><!-- --></A><H3> |
| getTimeoutsSending</H3> |
| <PRE> |
| public long <B>getTimeoutsSending</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMinSizeReceived()"><!-- --></A><H3> |
| getMinSizeReceived</H3> |
| <PRE> |
| public long <B>getMinSizeReceived</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMaxSizeReceived()"><!-- --></A><H3> |
| getMaxSizeReceived</H3> |
| <PRE> |
| public long <B>getMaxSizeReceived</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAvgSizeReceived()"><!-- --></A><H3> |
| getAvgSizeReceived</H3> |
| <PRE> |
| public double <B>getAvgSizeReceived</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMinSizeSent()"><!-- --></A><H3> |
| getMinSizeSent</H3> |
| <PRE> |
| public long <B>getMinSizeSent</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMaxSizeSent()"><!-- --></A><H3> |
| getMaxSizeSent</H3> |
| <PRE> |
| public long <B>getMaxSizeSent</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAvgSizeSent()"><!-- --></A><H3> |
| getAvgSizeSent</H3> |
| <PRE> |
| public double <B>getAvgSizeSent</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getResponseCodeTable()"><!-- --></A><H3> |
| getResponseCodeTable</H3> |
| <PRE> |
| public java.util.Map <B>getResponseCodeTable</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="resetStatistics()"><!-- --></A><H3> |
| resetStatistics</H3> |
| <PRE> |
| public void <B>resetStatistics</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLastResetTime()"><!-- --></A><H3> |
| getLastResetTime</H3> |
| <PRE> |
| public long <B>getLastResetTime</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMetricsWindow()"><!-- --></A><H3> |
| getMetricsWindow</H3> |
| <PRE> |
| public long <B>getMetricsWindow</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbstractTransportListener.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollTableEntry.html" title="class in org.apache.axis2.transport.base"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListenerEx.html" title="class in org.apache.axis2.transport.base"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html?org/apache/axis2/transport/base/AbstractTransportListener.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AbstractTransportListener.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2004-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |