com.aelitis.azureus.core.proxy.socks.impl
Class AESocksProxyPlugableConnectionDefault
java.lang.Object
com.aelitis.azureus.core.proxy.socks.impl.AESocksProxyPlugableConnectionDefault
- All Implemented Interfaces:
- AESocksProxyPlugableConnection
public class AESocksProxyPlugableConnectionDefault
- extends Object
- implements AESocksProxyPlugableConnection
- Author:
- parg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
socks_connection
protected final AESocksProxyConnection socks_connection
connection
protected final AEProxyConnection connection
source_channel
protected final SocketChannel source_channel
target_channel
protected SocketChannel target_channel
relay_data_state
protected AESocksProxyPlugableConnectionDefault.proxyStateRelayData relay_data_state
AESocksProxyPlugableConnectionDefault
public AESocksProxyPlugableConnectionDefault(AESocksProxyConnection _socks_connection)
getName
public String getName()
- Specified by:
getName
in interface AESocksProxyPlugableConnection
getLocalAddress
public InetAddress getLocalAddress()
- Specified by:
getLocalAddress
in interface AESocksProxyPlugableConnection
getLocalPort
public int getLocalPort()
- Specified by:
getLocalPort
in interface AESocksProxyPlugableConnection
connect
public void connect(AESocksProxyAddress _address)
throws IOException
- Specified by:
connect
in interface AESocksProxyPlugableConnection
- Throws:
IOException
relayData
public void relayData()
throws IOException
- Specified by:
relayData
in interface AESocksProxyPlugableConnection
- Throws:
IOException
close
public void close()
- Specified by:
close
in interface AESocksProxyPlugableConnection