|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.net.Socket
|
+--com.mindbright.net.SocksProxySocket
| Method Summary | |
java.lang.String |
getServerDesc()
|
static SocksProxySocket |
getSocks4Proxy(java.lang.String targetHost,
int targetPort,
java.lang.String proxyHost,
int proxyPort,
java.lang.String userId)
|
static SocksProxySocket |
getSocks5Proxy(java.lang.String targetHost,
int targetPort,
java.lang.String proxyHost,
int proxyPort,
boolean localLookup,
ProxyAuthenticator authenticator)
|
static SocksProxySocket |
getSocks5Proxy(java.lang.String targetHost,
int targetPort,
java.lang.String proxyHost,
int proxyPort,
ProxyAuthenticator authenticator)
|
java.lang.String |
toString()
|
| Methods inherited from class java.net.Socket |
bind, close, connect, connect, getChannel, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public java.lang.String getServerDesc()
public static SocksProxySocket getSocks4Proxy(java.lang.String targetHost,
int targetPort,
java.lang.String proxyHost,
int proxyPort,
java.lang.String userId)
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException
java.net.UnknownHostException
public static SocksProxySocket getSocks5Proxy(java.lang.String targetHost,
int targetPort,
java.lang.String proxyHost,
int proxyPort,
ProxyAuthenticator authenticator)
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException
java.net.UnknownHostException
public static SocksProxySocket getSocks5Proxy(java.lang.String targetHost,
int targetPort,
java.lang.String proxyHost,
int proxyPort,
boolean localLookup,
ProxyAuthenticator authenticator)
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException
java.net.UnknownHostExceptionpublic java.lang.String toString()
toString in class java.net.Socket
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||