public final class SOCKSNetworkProxy extends java.lang.Object implements NetworkProxy
| Constructor and Description |
|---|
SOCKSNetworkProxy(java.lang.String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginRead(Buffer buf) |
void |
beginWrite(java.net.InetSocketAddress endpoint,
Buffer buf) |
int |
endRead(Buffer buf) |
int |
endWrite(Buffer buf) |
void |
finish(Buffer readBuffer,
Buffer writeBuffer) |
java.net.InetSocketAddress |
getAddress() |
java.lang.String |
getName() |
int |
getProtocolSupport() |
NetworkProxy |
resolveHost(int protocolSupport) |
public void beginWrite(java.net.InetSocketAddress endpoint,
Buffer buf)
beginWrite in interface NetworkProxypublic int endWrite(Buffer buf)
endWrite in interface NetworkProxypublic void beginRead(Buffer buf)
beginRead in interface NetworkProxypublic int endRead(Buffer buf)
endRead in interface NetworkProxypublic void finish(Buffer readBuffer, Buffer writeBuffer)
finish in interface NetworkProxypublic NetworkProxy resolveHost(int protocolSupport)
resolveHost in interface NetworkProxypublic java.net.InetSocketAddress getAddress()
getAddress in interface NetworkProxypublic java.lang.String getName()
getName in interface NetworkProxypublic int getProtocolSupport()
getProtocolSupport in interface NetworkProxy