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 classprivate classprivate classprivate classprivate classprivate classprivate classprivate classprivate classprivate classprivate classprivate classprivate classprivate classprivate classprivate classprivate classprivate classprivate class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AEProxyConnectionprivate booleanprivate static final LogIDsprivate Stringprivate AESocksProxyPlugableConnectionprivate final AESocksProxyImplprivate int(package private) final SocketChannelstatic final booleanprivate String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAESocksProxyConnectionImpl(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:
getProxyin interfaceAESocksProxyConnection
-
setDelegate
- Specified by:
setDelegatein interfaceAESocksProxyConnection
-
getName
-
getUsername
- Specified by:
getUsernamein interfaceAESocksProxyConnection
-
getPassword
- Specified by:
getPasswordin interfaceAESocksProxyConnection
-
getInitialState
-
connectionClosed
- Specified by:
connectionClosedin interfaceAEProxyConnectionListener
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceAESocksProxyConnection
-
getConnection
- Specified by:
getConnectionin interfaceAESocksProxyConnection
-
disableDNSLookups
public void disableDNSLookups()- Specified by:
disableDNSLookupsin interfaceAESocksProxyConnection
-
enableDNSLookups
public void enableDNSLookups()- Specified by:
enableDNSLookupsin interfaceAESocksProxyConnection
-
areDNSLookupsEnabled
public boolean areDNSLookupsEnabled()- Specified by:
areDNSLookupsEnabledin interfaceAESocksProxyConnection
-
close
- Specified by:
closein interfaceAESocksProxyConnection- Throws:
IOException
-
connected
- Specified by:
connectedin interfaceAESocksProxyConnection- Throws:
IOException
-