Package com.jcraft.jsch
Class ProxySOCKS5
- java.lang.Object
-
- com.jcraft.jsch.ProxySOCKS5
-
-
Constructor Summary
Constructors Constructor Description ProxySOCKS5(String proxy_host)
ProxySOCKS5(String proxy_host, int proxy_port)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
connect(SocketFactory socket_factory, String host, int port, int timeout)
static int
getDefaultPort()
InputStream
getInputStream()
OutputStream
getOutputStream()
Socket
getSocket()
void
setUserPasswd(String user, String passwd)
-
-
-
Method Detail
-
connect
public void connect(SocketFactory socket_factory, String host, int port, int timeout) throws JSchException
- Specified by:
connect
in interfaceProxy
- Throws:
JSchException
-
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStream
in interfaceProxy
-
getOutputStream
public OutputStream getOutputStream()
- Specified by:
getOutputStream
in interfaceProxy
-
getDefaultPort
public static int getDefaultPort()
-
-