Class DefaultConnectionListener
- java.lang.Object
-
- org.apache.axis2.transport.http.server.DefaultConnectionListener
-
- All Implemented Interfaces:
Runnable,IOProcessor
public class DefaultConnectionListener extends Object implements IOProcessor
-
-
Constructor Summary
Constructors Constructor Description DefaultConnectionListener(int port, HttpConnectionManager connmanager, ConnectionListenerFailureHandler failureHandler, org.apache.http.params.HttpParams params)Use this constructor to provide a custom ConnectionListenerFailureHandler, e.g. by subclassing DefaultConnectionListenerFailureHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidawaitSocketOpen()voidclose()voiddestroy()intgetPort()booleanisDestroyed()voidrun()
-
-
-
Constructor Detail
-
DefaultConnectionListener
public DefaultConnectionListener(int port, HttpConnectionManager connmanager, ConnectionListenerFailureHandler failureHandler, org.apache.http.params.HttpParams params) throws IOExceptionUse this constructor to provide a custom ConnectionListenerFailureHandler, e.g. by subclassing DefaultConnectionListenerFailureHandler- Throws:
IOException
-
-
Method Detail
-
awaitSocketOpen
public void awaitSocketOpen() throws InterruptedException- Throws:
InterruptedException
-
getPort
public int getPort()
-
close
public void close() throws IOException- Specified by:
closein interfaceIOProcessor- Throws:
IOException
-
destroy
public void destroy()
- Specified by:
destroyin interfaceIOProcessor
-
isDestroyed
public boolean isDestroyed()
- Specified by:
isDestroyedin interfaceIOProcessor
-
-