Class AESocksProxyPlugableConnectionDefault
java.lang.Object
com.biglybt.core.proxy.socks.impl.AESocksProxyPlugableConnectionDefault
- All Implemented Interfaces:
AESocksProxyPlugableConnection
public class AESocksProxyPlugableConnectionDefault
extends Object
implements AESocksProxyPlugableConnection
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
protected class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AEProxyConnection
protected final AESocksProxyConnection
protected final SocketChannel
protected SocketChannel
-
Constructor Summary
ConstructorsConstructorDescriptionAESocksProxyPlugableConnectionDefault
(AESocksProxyConnection _socks_connection) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
connect
(AESocksProxyAddress _address) int
getName()
void
-
Field Details
-
socks_connection
-
connection
-
source_channel
-
target_channel
-
relay_data_state
-
-
Constructor Details
-
AESocksProxyPlugableConnectionDefault
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceAESocksProxyPlugableConnection
-
getLocalAddress
- Specified by:
getLocalAddress
in interfaceAESocksProxyPlugableConnection
-
getLocalPort
public int getLocalPort()- Specified by:
getLocalPort
in interfaceAESocksProxyPlugableConnection
-
connect
- Specified by:
connect
in interfaceAESocksProxyPlugableConnection
- Throws:
IOException
-
relayData
- Specified by:
relayData
in interfaceAESocksProxyPlugableConnection
- Throws:
IOException
-
close
public void close()- Specified by:
close
in interfaceAESocksProxyPlugableConnection
-