Constructor and Description |
---|
ProxySOCKS4(java.lang.String proxy_host) |
ProxySOCKS4(java.lang.String proxy_host,
int proxy_port) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
connect(SocketFactory socket_factory,
java.lang.String host,
int port,
int timeout) |
static int |
getDefaultPort() |
java.io.InputStream |
getInputStream() |
java.io.OutputStream |
getOutputStream() |
java.net.Socket |
getSocket() |
void |
setUserPasswd(java.lang.String user,
java.lang.String passwd) |
public ProxySOCKS4(java.lang.String proxy_host)
public ProxySOCKS4(java.lang.String proxy_host, int proxy_port)
public void setUserPasswd(java.lang.String user, java.lang.String passwd)
public void connect(SocketFactory socket_factory, java.lang.String host, int port, int timeout) throws JSchException
connect
in interface Proxy
JSchException
public java.io.InputStream getInputStream()
getInputStream
in interface Proxy
public java.io.OutputStream getOutputStream()
getOutputStream
in interface Proxy
public static int getDefaultPort()