Class AESocksProxyConnectionImpl
java.lang.Object
com.biglybt.core.proxy.socks.impl.AESocksProxyConnectionImpl
- All Implemented Interfaces:
AEProxyConnectionListener
,AESocksProxyConnection
public class AESocksProxyConnectionImpl
extends Object
implements AESocksProxyConnection, AEProxyConnectionListener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
private class
private class
private class
private class
private class
private class
private class
private class
private class
private class
private class
private class
private class
private class
private class
private class
private class
private class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AEProxyConnection
private boolean
private static final LogIDs
private String
private AESocksProxyPlugableConnection
private final AESocksProxyImpl
private int
(package private) final SocketChannel
static final boolean
private String
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AESocksProxyConnectionImpl
(AESocksProxyImpl _proxy, AESocksProxyPlugableConnectionFactory _connection_factory, AEProxyConnection _connection) -
Method Summary
-
Field Details
-
LOGID
-
TRACE
public static final boolean TRACE- See Also:
-
proxy
-
connection
-
disable_dns_lookups
private boolean disable_dns_lookups -
username
-
password
-
source_channel
-
socks_version
private int socks_version -
plugable_connection
-
-
Constructor Details
-
AESocksProxyConnectionImpl
protected AESocksProxyConnectionImpl(AESocksProxyImpl _proxy, AESocksProxyPlugableConnectionFactory _connection_factory, AEProxyConnection _connection) throws IOException - Throws:
IOException
-
-
Method Details
-
getProxy
- Specified by:
getProxy
in interfaceAESocksProxyConnection
-
setDelegate
- Specified by:
setDelegate
in interfaceAESocksProxyConnection
-
getName
-
getUsername
- Specified by:
getUsername
in interfaceAESocksProxyConnection
-
getPassword
- Specified by:
getPassword
in interfaceAESocksProxyConnection
-
getInitialState
-
connectionClosed
- Specified by:
connectionClosed
in interfaceAEProxyConnectionListener
-
isClosed
public boolean isClosed()- Specified by:
isClosed
in interfaceAESocksProxyConnection
-
getConnection
- Specified by:
getConnection
in interfaceAESocksProxyConnection
-
disableDNSLookups
public void disableDNSLookups()- Specified by:
disableDNSLookups
in interfaceAESocksProxyConnection
-
enableDNSLookups
public void enableDNSLookups()- Specified by:
enableDNSLookups
in interfaceAESocksProxyConnection
-
areDNSLookupsEnabled
public boolean areDNSLookupsEnabled()- Specified by:
areDNSLookupsEnabled
in interfaceAESocksProxyConnection
-
close
- Specified by:
close
in interfaceAESocksProxyConnection
- Throws:
IOException
-
connected
- Specified by:
connected
in interfaceAESocksProxyConnection
- Throws:
IOException
-