|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis2.transport.mail.SimpleMailListener
This is the implementation for Mail Listener in Axis2. It has the full capability of connecting to a POP3 or IMPA server with SSL or regualar connection. This listener intend to use as a server in client side as well with the involcation is Async with addressing.
| Field Summary |
| Fields inherited from interface org.apache.axis2.transport.TransportListener |
HOST_ADDRESS, PARAM_PORT |
| Constructor Summary | |
SimpleMailListener()
|
|
SimpleMailListener(edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue messageQueue)
This constructor will be used in when Mail simulate the request/response |
|
| Method Summary | |
void |
destroy()
|
EndpointReference |
getEPRForService(java.lang.String serviceName,
java.lang.String ip)
|
EndpointReference[] |
getEPRsForService(java.lang.String serviceName,
java.lang.String ip)
|
edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue |
getLinkedBlockingQueue()
|
SessionContext |
getSessionContext(MessageContext messageContext)
To get the sessionContext transport dependent manner. |
void |
init(ConfigurationContext configurationContext,
TransportInDescription transportIn)
|
void |
initFromRuntime(java.util.Properties properties,
MessageContext msgContext)
|
static void |
main(java.lang.String[] args)
Server process. |
void |
run()
Accept requests from a given TCP port and send them through the Axis engine for processing. |
void |
start()
Start this listener |
void |
stop()
Stop this server. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleMailListener()
public SimpleMailListener(edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue messageQueue)
messageQueue - | Method Detail |
public void init(ConfigurationContext configurationContext,
TransportInDescription transportIn)
throws AxisFault
init in interface TransportListenerAxisFault
public void initFromRuntime(java.util.Properties properties,
MessageContext msgContext)
throws AxisFault
AxisFault
public static void main(java.lang.String[] args)
throws AxisFault
AxisFaultpublic void run()
run in interface java.lang.Runnable
public void start()
throws AxisFault
start in interface TransportListenerAxisFaultpublic void stop()
stop in interface TransportListener
public EndpointReference getEPRForService(java.lang.String serviceName,
java.lang.String ip)
throws AxisFault
getEPRForService in interface TransportListenerserviceName - ip -
AxisFault
public EndpointReference[] getEPRsForService(java.lang.String serviceName,
java.lang.String ip)
throws AxisFault
getEPRsForService in interface TransportListenerAxisFaultpublic SessionContext getSessionContext(MessageContext messageContext)
TransportListener
getSessionContext in interface TransportListenermessageContext - : MessageContext which has all the relavent data
public void destroy()
destroy in interface TransportListenerpublic edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue getLinkedBlockingQueue()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||