com.aelitis.azureus.core.proxy.socks.impl
Class AESocksProxyConnectionImpl
java.lang.Object
com.aelitis.azureus.core.proxy.socks.impl.AESocksProxyConnectionImpl
- All Implemented Interfaces:
- AEProxyConnectionListener, AESocksProxyConnection
public class AESocksProxyConnectionImpl
- extends java.lang.Object
- implements AESocksProxyConnection, AEProxyConnectionListener
- Author:
- parg
Field Summary |
static boolean |
TRACE
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRACE
public static final boolean TRACE
- See Also:
- Constant Field Values
AESocksProxyConnectionImpl
protected AESocksProxyConnectionImpl(AESocksProxyImpl _proxy,
AESocksProxyPlugableConnectionFactory _connection_factory,
AEProxyConnection _connection)
throws java.io.IOException
- Throws:
java.io.IOException
getProxy
public AESocksProxy getProxy()
- Specified by:
getProxy
in interface AESocksProxyConnection
setDelegate
public void setDelegate(AESocksProxyPlugableConnection target)
- Specified by:
setDelegate
in interface AESocksProxyConnection
getName
protected java.lang.String getName()
getUsername
public java.lang.String getUsername()
- Specified by:
getUsername
in interface AESocksProxyConnection
getPassword
public java.lang.String getPassword()
- Specified by:
getPassword
in interface AESocksProxyConnection
getInitialState
protected AEProxyState getInitialState()
connectionClosed
public void connectionClosed(AEProxyConnection con)
- Specified by:
connectionClosed
in interface AEProxyConnectionListener
isClosed
public boolean isClosed()
- Specified by:
isClosed
in interface AESocksProxyConnection
getConnection
public AEProxyConnection getConnection()
- Specified by:
getConnection
in interface AESocksProxyConnection
disableDNSLookups
public void disableDNSLookups()
- Specified by:
disableDNSLookups
in interface AESocksProxyConnection
enableDNSLookups
public void enableDNSLookups()
- Specified by:
enableDNSLookups
in interface AESocksProxyConnection
areDNSLookupsEnabled
public boolean areDNSLookupsEnabled()
- Specified by:
areDNSLookupsEnabled
in interface AESocksProxyConnection
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface AESocksProxyConnection
- Throws:
java.io.IOException
connected
public void connected()
throws java.io.IOException
- Specified by:
connected
in interface AESocksProxyConnection
- Throws:
java.io.IOException