org.apache.axis2.transport.http.server
Class DefaultConnectionListener
java.lang.Object
org.apache.axis2.transport.http.server.DefaultConnectionListener
- All Implemented Interfaces:
- IOProcessor, Runnable
- public class DefaultConnectionListener
- extends Object
- implements IOProcessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultConnectionListener
public DefaultConnectionListener(int port,
HttpConnectionFactory connfactory,
HttpConnectionManager connmanager)
throws IOException
- Default constructor called by HttpFactory. A custom HttpFactory subclass can call the other constructor to provide a custom ConnectionListenerErrorHandler
DefaultConnectionListener
public DefaultConnectionListener(int port,
HttpConnectionFactory connfactory,
HttpConnectionManager connmanager,
ConnectionListenerFailureHandler failureHandler)
throws IOException
- Use this constructor to provide a custom ConnectionListenerFailureHandler, e.g. by subclassing DefaultConnectionListenerFailureHandler
run
public void run()
- Specified by:
run
in interface Runnable
close
public void close()
throws IOException
- Specified by:
close
in interface IOProcessor
- Throws:
IOException
destroy
public void destroy()
- Specified by:
destroy
in interface IOProcessor
isDestroyed
public boolean isDestroyed()
- Specified by:
isDestroyed
in interface IOProcessor