org.apache.axis2.transport.http.server
Class DefaultConnectionListener
java.lang.Object
org.apache.axis2.transport.http.server.DefaultConnectionListener
- All Implemented Interfaces:
- java.lang.Runnable, IOProcessor
public class DefaultConnectionListener
- extends java.lang.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,
HttpConnectionManager connmanager,
ConnectionListenerFailureHandler failureHandler,
org.apache.http.params.HttpParams params)
throws java.io.IOException
- Use this constructor to provide a custom ConnectionListenerFailureHandler, e.g. by subclassing DefaultConnectionListenerFailureHandler
- Throws:
java.io.IOException
run
public void run()
- Specified by:
run in interface java.lang.Runnable
awaitSocketOpen
public void awaitSocketOpen()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
getPort
public int getPort()
close
public void close()
throws java.io.IOException
- Specified by:
close in interface IOProcessor
- Throws:
java.io.IOException
destroy
public void destroy()
- Specified by:
destroy in interface IOProcessor
isDestroyed
public boolean isDestroyed()
- Specified by:
isDestroyed in interface IOProcessor
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.