|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsocks.Proxy
socks.Socks4Proxy
public class Socks4Proxy
Proxy which describes SOCKS4 proxy.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
Socks4Proxy(InetAddress proxyIP,
int proxyPort,
String user)
Creates the SOCKS4 proxy |
|
Socks4Proxy(Proxy p,
InetAddress proxyIP,
int proxyPort,
String user)
Creates the SOCKS4 proxy |
|
Socks4Proxy(Proxy p,
String proxyHost,
int proxyPort,
String user)
Creates the SOCKS4 proxy |
|
Socks4Proxy(String proxyHost,
int proxyPort,
String user)
Creates the SOCKS4 proxy |
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a clone of this proxy. |
protected Proxy |
copy()
|
protected ProxyMessage |
formMessage(InputStream in)
|
protected ProxyMessage |
formMessage(int cmd,
InetAddress ip,
int port)
|
protected ProxyMessage |
formMessage(int cmd,
String host,
int port)
|
| Methods inherited from class socks.Proxy |
|---|
accept, addDirect, addDirect, addDirect, bind, bind, connect, connect, endSession, exchange, getChainProxy, getDefaultProxy, getDirect, getInetAddress, getPort, isDirect, isDirect, parseProxy, readMsg, sendMsg, setChainProxy, setDefaultProxy, setDefaultProxy, setDefaultProxy, setDefaultProxy, setDefaultProxy, setDirect, startSession, toString, udpAssociate, udpAssociate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Socks4Proxy(Proxy p,
String proxyHost,
int proxyPort,
String user)
throws UnknownHostException
p - Proxy to use to connect to this proxy, allows proxy chaining.proxyHost - Address of the proxy server.proxyPort - Port of the proxy serveruser - User name to use for identification purposes.
UnknownHostException - If proxyHost can't be resolved.
public Socks4Proxy(String proxyHost,
int proxyPort,
String user)
throws UnknownHostException
proxyHost - Address of the proxy server.proxyPort - Port of the proxy serveruser - User name to use for identification purposes.
UnknownHostException - If proxyHost can't be resolved.
public Socks4Proxy(Proxy p,
InetAddress proxyIP,
int proxyPort,
String user)
p - Proxy to use to connect to this proxy, allows proxy chaining.proxyIP - Address of the proxy server.proxyPort - Port of the proxy serveruser - User name to use for identification purposes.
public Socks4Proxy(InetAddress proxyIP,
int proxyPort,
String user)
proxyIP - Address of the proxy server.proxyPort - Port of the proxy serveruser - User name to use for identification purposes.| Method Detail |
|---|
public Object clone()
clone in class Objectprotected Proxy copy()
copy in class Proxy
protected ProxyMessage formMessage(int cmd,
InetAddress ip,
int port)
formMessage in class Proxy
protected ProxyMessage formMessage(int cmd,
String host,
int port)
throws UnknownHostException
formMessage in class ProxyUnknownHostException
protected ProxyMessage formMessage(InputStream in)
throws SocksException,
IOException
formMessage in class ProxySocksException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||