blob: 618f905f10e171b91c10d6e56d30fdb9f909eb0d [file] [log] [blame]
<!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:38 IST 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
MailTransportListener (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="MailTransportListener (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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MailTransportListener.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/axis2/transport/mail/MailRequestResponseTransport.html" title="class in org.apache.axis2.transport.mail"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/axis2/transport/mail/MailTransportSender.html" title="class in org.apache.axis2.transport.mail"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/axis2/transport/mail/MailTransportListener.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="MailTransportListener.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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.mail</FONT>
<BR>
Class MailTransportListener</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html" title="class in org.apache.axis2.transport.base">org.apache.axis2.transport.base.AbstractTransportListener</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListenerEx.html" title="class in org.apache.axis2.transport.base">org.apache.axis2.transport.base.AbstractTransportListenerEx</A>&lt;T&gt;
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollingTransportListener.html" title="class in org.apache.axis2.transport.base">org.apache.axis2.transport.base.AbstractPollingTransportListener</A>&lt;<A HREF="../../../../../org/apache/axis2/transport/mail/PollTableEntry.html" title="class in org.apache.axis2.transport.mail">PollTableEntry</A>&gt;
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.axis2.transport.mail.MailTransportListener</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/axis2/transport/base/event/TransportErrorSource.html" title="interface in org.apache.axis2.transport.base.event">TransportErrorSource</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html" title="interface in org.apache.axis2.transport.base">ManagementSupport</A>, org.apache.axis2.transport.TransportListener</DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>MailTransportListener</B><DT>extends <A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollingTransportListener.html" title="class in org.apache.axis2.transport.base">AbstractPollingTransportListener</A>&lt;<A HREF="../../../../../org/apache/axis2/transport/mail/PollTableEntry.html" title="class in org.apache.axis2.transport.mail">PollTableEntry</A>&gt;<DT>implements <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html" title="interface in org.apache.axis2.transport.base">ManagementSupport</A>, <A HREF="../../../../../org/apache/axis2/transport/base/event/TransportErrorSource.html" title="interface in org.apache.axis2.transport.base.event">TransportErrorSource</A></DL>
</PRE>
<P>
This mail transport lister implementation uses the base transport framework and is a polling
transport. i.e. a service can register itself with custom a custom mail configuration (i.e.
pop3 or imap) and specify its polling duration, and what action to be taken after processing
messages. The transport always deletes processed mails from the folder they were fetched from
and can be configured to be optionally moved to a different folder, if the server supports it
(e.g. with imap). When checking for new mail, the transport ignores messages already flaged as
SEEN and DELETED
<P>
<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>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/mail/MailTransportListener.html#DELETE">DELETE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/mail/MailTransportListener.html#MOVE">MOVE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.apache.axis2.transport.base.AbstractTransportListener"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class org.apache.axis2.transport.base.<A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html" title="class in org.apache.axis2.transport.base">AbstractTransportListener</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#cfgCtx">cfgCtx</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#config">config</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#isNonBlocking">isNonBlocking</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#log">log</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#metrics">metrics</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#state">state</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#useAxis2ThreadPool">useAxis2ThreadPool</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#workerPool">workerPool</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;
<!-- ======== 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><CODE><B><A HREF="../../../../../org/apache/axis2/transport/mail/MailTransportListener.html#MailTransportListener()">MailTransportListener</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/mail/MailTransportListener.html#addErrorListener(org.apache.axis2.transport.base.event.TransportErrorListener)">addErrorListener</A></B>(<A HREF="../../../../../org/apache/axis2/transport/base/event/TransportErrorListener.html" title="interface in org.apache.axis2.transport.base.event">TransportErrorListener</A>&nbsp;listener)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../../org/apache/axis2/transport/mail/PollTableEntry.html" title="class in org.apache.axis2.transport.mail">PollTableEntry</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/mail/MailTransportListener.html#createEndpoint()">createEndpoint</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/mail/MailTransportListener.html#init(org.apache.axis2.context.ConfigurationContext, org.apache.axis2.description.TransportInDescription)">init</A></B>(org.apache.axis2.context.ConfigurationContext&nbsp;cfgCtx,
org.apache.axis2.description.TransportInDescription&nbsp;trpInDesc)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initializes the Mail transport</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/mail/MailTransportListener.html#poll(org.apache.axis2.transport.mail.PollTableEntry)">poll</A></B>(<A HREF="../../../../../org/apache/axis2/transport/mail/PollTableEntry.html" title="class in org.apache.axis2.transport.mail">PollTableEntry</A>&nbsp;entry)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/axis2/transport/mail/MailTransportListener.html#removeErrorListener(org.apache.axis2.transport.base.event.TransportErrorListener)">removeErrorListener</A></B>(<A HREF="../../../../../org/apache/axis2/transport/base/event/TransportErrorListener.html" title="interface in org.apache.axis2.transport.base.event">TransportErrorListener</A>&nbsp;listener)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.axis2.transport.base.AbstractPollingTransportListener"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.apache.axis2.transport.base.<A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollingTransportListener.html" title="class in org.apache.axis2.transport.base">AbstractPollingTransportListener</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollingTransportListener.html#destroy()">destroy</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollingTransportListener.html#maintenenceShutdown(long)">maintenenceShutdown</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollingTransportListener.html#onPollCompletion(T)">onPollCompletion</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollingTransportListener.html#pause()">pause</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollingTransportListener.html#processFailure(java.lang.String, java.lang.Exception, T)">processFailure</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollingTransportListener.html#resume()">resume</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollingTransportListener.html#startEndpoint(T)">startEndpoint</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollingTransportListener.html#stopEndpoint(T)">stopEndpoint</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.axis2.transport.base.AbstractTransportListenerEx"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.apache.axis2.transport.base.<A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListenerEx.html" title="class in org.apache.axis2.transport.base">AbstractTransportListenerEx</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListenerEx.html#getEndpoints()">getEndpoints</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListenerEx.html#getEPRsForService(java.lang.String, java.lang.String)">getEPRsForService</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListenerEx.html#startListeningForService(org.apache.axis2.description.AxisService)">startListeningForService</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListenerEx.html#stopListeningForService(org.apache.axis2.description.AxisService)">stopListeningForService</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.axis2.transport.base.AbstractTransportListener"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.apache.axis2.transport.base.<A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html" title="class in org.apache.axis2.transport.base">AbstractTransportListener</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#createMessageContext()">createMessageContext</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#disableTransportForService(org.apache.axis2.description.AxisService)">disableTransportForService</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getActiveThreadCount()">getActiveThreadCount</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getAvgSizeReceived()">getAvgSizeReceived</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getAvgSizeSent()">getAvgSizeSent</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getBytesReceived()">getBytesReceived</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getBytesSent()">getBytesSent</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getConfigurationContext()">getConfigurationContext</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getEPRForService(java.lang.String, java.lang.String)">getEPRForService</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getEPRsForService(java.lang.String)">getEPRsForService</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getFaultsReceiving()">getFaultsReceiving</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getFaultsSending()">getFaultsSending</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getLastResetTime()">getLastResetTime</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMaxSizeReceived()">getMaxSizeReceived</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMaxSizeSent()">getMaxSizeSent</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMessagesReceived()">getMessagesReceived</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMessagesSent()">getMessagesSent</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMetricsCollector()">getMetricsCollector</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMetricsWindow()">getMetricsWindow</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMinSizeReceived()">getMinSizeReceived</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getMinSizeSent()">getMinSizeSent</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getQueueSize()">getQueueSize</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getResponseCodeTable()">getResponseCodeTable</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getSessionContext(org.apache.axis2.context.MessageContext)">getSessionContext</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getTimeoutsReceiving()">getTimeoutsReceiving</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getTimeoutsSending()">getTimeoutsSending</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#getTransportName()">getTransportName</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#handleException(java.lang.String, java.lang.Exception)">handleException</A>, <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>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#logException(java.lang.String, java.lang.Exception)">logException</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#resetStatistics()">resetStatistics</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#start()">start</A>, <A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListener.html#stop()">stop</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.axis2.transport.base.ManagementSupport"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface org.apache.axis2.transport.base.<A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html" title="interface in org.apache.axis2.transport.base">ManagementSupport</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getActiveThreadCount()">getActiveThreadCount</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getAvgSizeReceived()">getAvgSizeReceived</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getAvgSizeSent()">getAvgSizeSent</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getBytesReceived()">getBytesReceived</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getBytesSent()">getBytesSent</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getFaultsReceiving()">getFaultsReceiving</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getFaultsSending()">getFaultsSending</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getLastResetTime()">getLastResetTime</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getMaxSizeReceived()">getMaxSizeReceived</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getMaxSizeSent()">getMaxSizeSent</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getMessagesReceived()">getMessagesReceived</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getMessagesSent()">getMessagesSent</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getMetricsWindow()">getMetricsWindow</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getMinSizeReceived()">getMinSizeReceived</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getMinSizeSent()">getMinSizeSent</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getQueueSize()">getQueueSize</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getResponseCodeTable()">getResponseCodeTable</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getTimeoutsReceiving()">getTimeoutsReceiving</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#getTimeoutsSending()">getTimeoutsSending</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#maintenenceShutdown(long)">maintenenceShutdown</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#pause()">pause</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#resetStatistics()">resetStatistics</A>, <A HREF="../../../../../org/apache/axis2/transport/base/ManagementSupport.html#resume()">resume</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<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="DELETE"><!-- --></A><H3>
DELETE</H3>
<PRE>
public static final java.lang.String <B>DELETE</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.axis2.transport.mail.MailTransportListener.DELETE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="MOVE"><!-- --></A><H3>
MOVE</H3>
<PRE>
public static final java.lang.String <B>MOVE</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.axis2.transport.mail.MailTransportListener.MOVE">Constant Field Values</A></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="MailTransportListener()"><!-- --></A><H3>
MailTransportListener</H3>
<PRE>
public <B>MailTransportListener</B>()</PRE>
<DL>
</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&nbsp;cfgCtx,
org.apache.axis2.description.TransportInDescription&nbsp;trpInDesc)
throws org.apache.axis2.AxisFault</PRE>
<DL>
<DD>Initializes the Mail transport
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>init</CODE> in interface <CODE>org.apache.axis2.transport.TransportListener</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollingTransportListener.html#init(org.apache.axis2.context.ConfigurationContext, org.apache.axis2.description.TransportInDescription)">init</A></CODE> in class <CODE><A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollingTransportListener.html" title="class in org.apache.axis2.transport.base">AbstractPollingTransportListener</A>&lt;<A HREF="../../../../../org/apache/axis2/transport/mail/PollTableEntry.html" title="class in org.apache.axis2.transport.mail">PollTableEntry</A>&gt;</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cfgCtx</CODE> - the Axsi2 configuration context<DD><CODE>trpInDesc</CODE> - the POP3 transport in description from the axis2.xml
<DT><B>Throws:</B>
<DD><CODE>org.apache.axis2.AxisFault</CODE> - on error</DL>
</DD>
</DL>
<HR>
<A NAME="poll(org.apache.axis2.transport.mail.PollTableEntry)"><!-- --></A><H3>
poll</H3>
<PRE>
protected void <B>poll</B>(<A HREF="../../../../../org/apache/axis2/transport/mail/PollTableEntry.html" title="class in org.apache.axis2.transport.mail">PollTableEntry</A>&nbsp;entry)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollingTransportListener.html#poll(T)">poll</A></CODE> in class <CODE><A HREF="../../../../../org/apache/axis2/transport/base/AbstractPollingTransportListener.html" title="class in org.apache.axis2.transport.base">AbstractPollingTransportListener</A>&lt;<A HREF="../../../../../org/apache/axis2/transport/mail/PollTableEntry.html" title="class in org.apache.axis2.transport.mail">PollTableEntry</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="createEndpoint()"><!-- --></A><H3>
createEndpoint</H3>
<PRE>
protected <A HREF="../../../../../org/apache/axis2/transport/mail/PollTableEntry.html" title="class in org.apache.axis2.transport.mail">PollTableEntry</A> <B>createEndpoint</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListenerEx.html#createEndpoint()">createEndpoint</A></CODE> in class <CODE><A HREF="../../../../../org/apache/axis2/transport/base/AbstractTransportListenerEx.html" title="class in org.apache.axis2.transport.base">AbstractTransportListenerEx</A>&lt;<A HREF="../../../../../org/apache/axis2/transport/mail/PollTableEntry.html" title="class in org.apache.axis2.transport.mail">PollTableEntry</A>&gt;</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="addErrorListener(org.apache.axis2.transport.base.event.TransportErrorListener)"><!-- --></A><H3>
addErrorListener</H3>
<PRE>
public void <B>addErrorListener</B>(<A HREF="../../../../../org/apache/axis2/transport/base/event/TransportErrorListener.html" title="interface in org.apache.axis2.transport.base.event">TransportErrorListener</A>&nbsp;listener)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/axis2/transport/base/event/TransportErrorSource.html#addErrorListener(org.apache.axis2.transport.base.event.TransportErrorListener)">addErrorListener</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/axis2/transport/base/event/TransportErrorSource.html" title="interface in org.apache.axis2.transport.base.event">TransportErrorSource</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="removeErrorListener(org.apache.axis2.transport.base.event.TransportErrorListener)"><!-- --></A><H3>
removeErrorListener</H3>
<PRE>
public void <B>removeErrorListener</B>(<A HREF="../../../../../org/apache/axis2/transport/base/event/TransportErrorListener.html" title="interface in org.apache.axis2.transport.base.event">TransportErrorListener</A>&nbsp;listener)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/axis2/transport/base/event/TransportErrorSource.html#removeErrorListener(org.apache.axis2.transport.base.event.TransportErrorListener)">removeErrorListener</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/axis2/transport/base/event/TransportErrorSource.html" title="interface in org.apache.axis2.transport.base.event">TransportErrorSource</A></CODE></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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MailTransportListener.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/axis2/transport/mail/MailRequestResponseTransport.html" title="class in org.apache.axis2.transport.mail"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/axis2/transport/mail/MailTransportSender.html" title="class in org.apache.axis2.transport.mail"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/axis2/transport/mail/MailTransportListener.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="MailTransportListener.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2004-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>