public class ProxyCommand extends Object implements com.jcraft.jsch.Proxy
| Modifier and Type | Field and Description |
|---|---|
protected String |
command |
protected InputStream |
in |
protected OutputStream |
out |
protected Process |
p |
| Constructor and Description |
|---|
ProxyCommand(String command) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect(com.jcraft.jsch.SocketFactory socket_factory,
String host,
int port,
int timeout) |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
Socket |
getSocket() |
protected String command
protected Process p
protected InputStream in
protected OutputStream out
public ProxyCommand(String command)
public void connect(com.jcraft.jsch.SocketFactory socket_factory,
String host,
int port,
int timeout)
throws Exception
connect in interface com.jcraft.jsch.ProxyExceptionpublic Socket getSocket()
getSocket in interface com.jcraft.jsch.Proxypublic InputStream getInputStream()
getInputStream in interface com.jcraft.jsch.Proxypublic OutputStream getOutputStream()
getOutputStream in interface com.jcraft.jsch.Proxypublic void close()
close in interface com.jcraft.jsch.ProxyCopyright © 1999–2014 CodeLutin. All rights reserved.