|
|||||||||||
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 a simple implementation of an SMTP/POP3 server for processing SOAP requests via Apache's xml-axis2. This is not intended for production use. Its intended uses are for demos, debugging, and performance profiling.
Field Summary |
Fields inherited from interface org.apache.axis2.transport.TransportListener |
HOST_ADDRESS, PARAM_PORT |
Constructor Summary | |
SimpleMailListener()
|
|
SimpleMailListener(String host,
String port,
String userid,
String password,
String dir)
|
Method Summary | |
boolean |
getDoThreads()
|
EndpointReference |
getEPRForService(String serviceName,
String ip)
|
void |
init(ConfigurationContext configurationContext,
TransportInDescription transportIn)
|
static void |
main(String[] args)
Server process. |
void |
run()
Accept requests from a given TCP port and send them through the Axis engine for processing. |
void |
setDoThreads(boolean value)
|
void |
start()
Start this server as a NON-daemon. |
void |
start(boolean daemon)
Start this server. |
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(String host, String port, String userid, String password, String dir) throws AxisFault
Method Detail |
public void init(ConfigurationContext configurationContext, TransportInDescription transportIn) throws AxisFault
init
in interface TransportListener
AxisFault
public static void main(String[] args) throws AxisFault
AxisFault
public void run()
run
in interface Runnable
public void start() throws AxisFault
start
in interface TransportListener
AxisFault
public void start(boolean daemon) throws AxisFault
daemon
- a boolean indicating if the thread should be a daemon.
AxisFault
public void stop()
stop
in interface TransportListener
public boolean getDoThreads()
public EndpointReference getEPRForService(String serviceName, String ip) throws AxisFault
getEPRForService
in interface TransportListener
AxisFault
public void setDoThreads(boolean value)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |