com.aelitis.azureus.core.proxy.impl
Class AEProxySelectorImpl
java.lang.Object
java.net.ProxySelector
com.aelitis.azureus.core.proxy.impl.AEProxySelectorImpl
- All Implemented Interfaces:
- AEProxySelector
public class AEProxySelectorImpl
- extends java.net.ProxySelector
- implements AEProxySelector
Methods inherited from class java.net.ProxySelector |
getDefault, setDefault |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSingleton
public static AEProxySelector getSingleton()
startNoProxy
public void startNoProxy()
- Specified by:
startNoProxy
in interface AEProxySelector
endNoProxy
public void endNoProxy()
- Specified by:
endNoProxy
in interface AEProxySelector
setProxy
public java.net.Proxy setProxy(java.net.InetSocketAddress address,
java.net.Proxy proxy)
- Specified by:
setProxy
in interface AEProxySelector
removeProxy
public java.net.Proxy removeProxy(java.net.InetSocketAddress address)
- Specified by:
removeProxy
in interface AEProxySelector
select
public java.util.List<java.net.Proxy> select(java.net.URI uri)
- Specified by:
select
in class java.net.ProxySelector
connectFailed
public void connectFailed(java.net.URI uri,
java.net.SocketAddress sa,
java.io.IOException ioe)
- Specified by:
connectFailed
in class java.net.ProxySelector
getSOCKSProxy
public java.net.Proxy getSOCKSProxy(java.lang.String host,
int port,
java.net.InetSocketAddress target)
- Specified by:
getSOCKSProxy
in interface AEProxySelector
getSOCKSProxy
public java.net.Proxy getSOCKSProxy(java.net.InetSocketAddress isa,
java.net.InetSocketAddress target)
- Specified by:
getSOCKSProxy
in interface AEProxySelector
getActiveProxy
public java.net.Proxy getActiveProxy()
- Specified by:
getActiveProxy
in interface AEProxySelector
connectFailed
public void connectFailed(java.net.Proxy proxy,
java.lang.Throwable error)
- Specified by:
connectFailed
in interface AEProxySelector
getLastConnectionTime
public long getLastConnectionTime()
- Specified by:
getLastConnectionTime
in interface AEProxySelector
getLastFailTime
public long getLastFailTime()
- Specified by:
getLastFailTime
in interface AEProxySelector
getConnectionCount
public int getConnectionCount()
- Specified by:
getConnectionCount
in interface AEProxySelector
getFailCount
public int getFailCount()
- Specified by:
getFailCount
in interface AEProxySelector
getInfo
public java.lang.String getInfo()
- Specified by:
getInfo
in interface AEProxySelector