public class DefaultConnectionListener extends Object implements IOProcessor
| Constructor and Description |
|---|
DefaultConnectionListener(int port,
HttpConnectionManager connmanager,
ConnectionListenerFailureHandler failureHandler,
org.apache.http.params.HttpParams params)
Use this constructor to provide a custom ConnectionListenerFailureHandler, e.g.
|
public DefaultConnectionListener(int port,
HttpConnectionManager connmanager,
ConnectionListenerFailureHandler failureHandler,
org.apache.http.params.HttpParams params)
throws IOException
IOExceptionpublic void awaitSocketOpen()
throws InterruptedException
InterruptedExceptionpublic int getPort()
public void close()
throws IOException
close in interface IOProcessorIOExceptionpublic void destroy()
destroy in interface IOProcessorpublic boolean isDestroyed()
isDestroyed in interface IOProcessorCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.